forked from mirror/monocles_chat_clean
Fix NPE
(cherry picked from commit 987f97ec4d5f8a792cb24d9e159c2a12861542ce)
This commit is contained in:
parent
245fbddea0
commit
a3c851aa44
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