mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-12 23:34:31 +01:00
Fix a bug in chat that caused crash when leaving sometimes
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
cef0d20e62
commit
7c275ccfbf
@ -909,7 +909,9 @@ public class ChatController extends BaseController implements MessagesListAdapte
|
||||
}
|
||||
}
|
||||
|
||||
adapter.addToEnd(chatMessageList, false);
|
||||
if (adapter != null) {
|
||||
adapter.addToEnd(chatMessageList, false);
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user