Skip to content

Commit

Permalink
Fix crash when archiving multiple conversations.
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-signal committed Aug 24, 2020
1 parent ffcd311 commit 4668510
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -796,6 +796,10 @@ private void handleCreateConversation(long threadId, Recipient recipient, int di
}

private void onSubmitList(@NonNull ConversationListViewModel.ConversationList conversationList) {
if (conversationList.getConversations().isDetached()) {
return;
}

defaultAdapter.submitList(conversationList.getConversations());

onPostSubmitList();
Expand Down

0 comments on commit 4668510

Please sign in to comment.