Skip to content
This repository was archived by the owner on Jul 25, 2024. It is now read-only.

Commit 06f0cfb

Browse files
committed
Changed database name according to realm Position
1 parent 13a5cc7 commit 06f0cfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/zulip/android/ZulipApp.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ public void addToMutedTopics(JSONArray jsonArray) {
218218
}
219219

220220
public void setEmail(String email) {
221-
databaseHelper = new DatabaseHelper(this, email);
221+
databaseHelper = new DatabaseHelper(this, SERVER_SETTINGS + currentRealm);
222222
this.you = Person.getOrUpdate(this, email, null, null);
223223
}
224224

0 commit comments

Comments
 (0)