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

Commit

Permalink
Show messages evn when offline.
Browse files Browse the repository at this point in the history
  • Loading branch information
nitish1211 committed Mar 1, 2017
1 parent 33bc3a3 commit 6c75880
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2391,6 +2391,9 @@ public void handleMessage(android.os.Message msg) {
} else {
displayChatBox(false);
displayFAB(true);
//Displays old offline messages
if(narrowedList==null)
onReadyToDisplay(true);
networkStatus = Constants.STATUS_NOT_CONNECTED;
Snackbar.make(coordinatorLayout, R.string.no_connection, Snackbar.LENGTH_INDEFINITE).show();
}
Expand Down

0 comments on commit 6c75880

Please sign in to comment.