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

Commit 23c47ee

Browse files
committed
Show messages even when offline.
1 parent 63c7217 commit 23c47ee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/src/main/java/com/zulip/android/activities/ZulipActivity.java

+3
Original file line numberDiff line numberDiff line change
@@ -2391,6 +2391,9 @@ public void handleMessage(android.os.Message msg) {
23912391
} else {
23922392
displayChatBox(false);
23932393
displayFAB(true);
2394+
//Displays old offline messages
2395+
if(!networkStatus.equals(Constants.STATUS_CONNECTED))
2396+
onReadyToDisplay(true);
23942397
networkStatus = Constants.STATUS_NOT_CONNECTED;
23952398
Snackbar.make(coordinatorLayout, R.string.no_connection, Snackbar.LENGTH_INDEFINITE).show();
23962399
}

0 commit comments

Comments
 (0)