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

Commit f507de6

Browse files
committed
Changed database name according to realm Position
1 parent a6c43b2 commit f507de6

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
@@ -219,7 +219,7 @@ public void addToMutedTopics(JSONArray jsonArray) {
219219
}
220220

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

0 commit comments

Comments
 (0)