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

Commit 354191b

Browse files
committed
Changed database name according to realm Position
1 parent b1fec21 commit 354191b

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
@@ -217,7 +217,7 @@ public void addToMutedTopics(JSONArray jsonArray) {
217217
}
218218

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

0 commit comments

Comments
 (0)