Change summary
src/main/java/eu/siacs/conversations/ui/ConversationFragment.java | 6
1 file changed, 5 insertions(+), 1 deletion(-)
Detailed changes
@@ -3974,7 +3974,11 @@ public class ConversationFragment extends XmppFragment
if (notifyConversationRead) binding.messagesView.postDelayed(this::refresh, 1000L);
} else {
conversation.populateWithMessages(this.messageList, activity == null ? null : activity.xmppConnectionService);
- updateStatusMessages();
+ try {
+ updateStatusMessages();
+ } catch (IllegalStateException e) {
+ Log.e(Config.LOGTAG, "Problem updating status messages on refresh: " + e);
+ }
this.messageListAdapter.notifyDataSetChanged();
}
if (conversation.getReceivedMessagesCountSinceUuid(lastMessageUuid) != 0) {