mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-24 11:38:00 +01:00
Merge pull request #546 from bgrozev/fix-npe-when-missing-x
Add null check for mucUser.
This commit is contained in:
commit
d93fbacc35
1 changed files with 1 additions and 1 deletions
|
@ -276,7 +276,7 @@ public class MultiUserChat {
|
|||
}
|
||||
}
|
||||
|
||||
Destroy destroy = mucUser.getDestroy();
|
||||
Destroy destroy = mucUser == null ? null : mucUser.getDestroy();
|
||||
// The room has been destroyed.
|
||||
if (destroy != null) {
|
||||
EntityBareJid alternateMucJid = destroy.getJid();
|
||||
|
|
Loading…
Reference in a new issue