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

Commit 5972f01

Browse files
committed
Show messages even when Offline.
1 parent bcff398 commit 5972f01

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
@@ -2390,6 +2390,9 @@ public void handleMessage(android.os.Message msg) {
23902390
} else {
23912391
displayChatBox(false);
23922392
displayFAB(true);
2393+
//Displays old offline messages
2394+
if(narrowedList==null)
2395+
onReadyToDisplay(true);
23932396
networkStatus = Constants.STATUS_NOT_CONNECTED;
23942397
Snackbar.make(coordinatorLayout, R.string.no_connection, Snackbar.LENGTH_INDEFINITE).show();
23952398
}

0 commit comments

Comments
 (0)