(cherry picked from commit 987f97ec4d5f8a792cb24d9e159c2a12861542ce)
This commit is contained in:
Stephen Paul Weber 2024-10-22 21:35:25 -05:00 committed by Arne
parent 9f7fee4033
commit 7323199d11

View file

@ -3762,7 +3762,7 @@ public class ConversationFragment extends XmppFragment
@Override
public void refreshForNewCaps(final Set<Jid> newCapsJids) {
if (newCapsJids.isEmpty() || newCapsJids.contains(conversation.getJid().asBareJid())) {
if (newCapsJids.isEmpty() || (conversation != null && newCapsJids.contains(conversation.getJid().asBareJid()))) {
refreshCommands(true);
}
}