mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-22 10:37:59 +01:00
[muc] Check mucServicedDiscoInfo for null in serviceSupportsStableIds()
Fixes SMACK-913.
This commit is contained in:
parent
49ad8c0954
commit
ae4ff244a3
1 changed files with 1 additions and 1 deletions
|
@ -2558,7 +2558,7 @@ public class MultiUserChat {
|
|||
}
|
||||
|
||||
public boolean serviceSupportsStableIds() {
|
||||
return mucServiceDiscoInfo.containsFeature(MultiUserChatConstants.STABLE_ID_FEATURE);
|
||||
return DiscoverInfo.nullSafeContainsFeature(mucServiceDiscoInfo, MultiUserChatConstants.STABLE_ID_FEATURE);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue