This commit is contained in:
Stephen Paul Weber 2024-02-28 21:57:43 +01:00 committed by Arne
parent 8fca25d3a3
commit db9d5bd8b9

View file

@ -508,7 +508,7 @@ public class ConversationFragment extends XmppFragment
final String uuid = message != null ? message.getUuid() : null;
View v = binding.messagesView.getChildAt(childPos);
final int pxOffset = (v == null) ? 0 : v.getTop();
ConversationFragment.this.conversation.populateWithMessages(ConversationFragment.this.messageList, activity.xmppConnectionService);
ConversationFragment.this.conversation.populateWithMessages(ConversationFragment.this.messageList, activity == null ? null : activity.xmppConnectionService);
try {
updateStatusMessages();
} catch (IllegalStateException e) {