mirror of
https://codeberg.org/monocles/monocles_chat.git
synced 2025-01-15 22:22:22 +01:00
Fix NPE
(cherry picked from commit 987f97ec4d5f8a792cb24d9e159c2a12861542ce)
This commit is contained in:
parent
9f7fee4033
commit
7323199d11
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue