Fix crash with 'select all' in conversation list.

Fixes #9790
fork-5.53.8
Greyson Parrelli 2020-06-26 10:11:23 -04:00
rodzic 6de789dfe3
commit 8c0160937b
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -213,7 +213,7 @@ class ConversationListAdapter extends PagedListAdapter<Conversation, RecyclerVie
}
void selectAllThreads() {
for (int i = 0; i < getItemCount(); i++) {
for (int i = 0; i < super.getItemCount(); i++) {
Conversation conversation = getItem(i);
if (conversation != null && conversation.getThreadRecord().getThreadId() != -1) {
batchSet.put(conversation.getThreadRecord().getThreadId(), conversation);