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

Commit 6c75880

Browse files
committed
Show messages evn when offline.
1 parent 33bc3a3 commit 6c75880

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

Lines changed: 3 additions & 0 deletions
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(narrowedList==null)
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)