This commit is contained in:
kosyak 2023-10-31 13:11:41 +01:00
parent 356d1e146e
commit 53a4c6cbcb

View file

@ -311,7 +311,7 @@ public class ConversationFragment extends XmppFragment
};
private void loadMoreMessages(boolean paginateBackward, boolean paginationForward, AbsListView view) {
if (paginateBackward && !conversation.messagesLoaded.get()) {
if (paginateBackward && (conversation != null && !conversation.messagesLoaded.get())) {
paginateBackward = false;
}