mirror of
https://github.com/moparisthebest/Conversations
synced 2024-12-25 08:58:55 -05:00
fix NPE when bookmark jid is null on creating suggestions
This commit is contained in:
parent
3889c0eb01
commit
ed7882fe69
@ -3506,7 +3506,8 @@ public class XmppConnectionService extends Service {
|
||||
mucServers.add(server);
|
||||
}
|
||||
for(Bookmark bookmark : account.getBookmarks()) {
|
||||
final String s = bookmark.getJid().getDomainpart();
|
||||
final Jid jid = bookmark.getJid();
|
||||
final String s = jid == null ? null : jid.getDomainpart();
|
||||
if (s != null && !mucServers.contains(s)) {
|
||||
mucServers.add(s);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user