mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-24 17:52:17 -05:00
fixed another npe in hasBookmark
This commit is contained in:
parent
138345c5bf
commit
4a80914603
@ -372,8 +372,9 @@ public class Account extends AbstractEntity {
|
||||
}
|
||||
|
||||
public boolean hasBookmarkFor(final Jid conferenceJid) {
|
||||
for (Bookmark bmark : this.bookmarks) {
|
||||
if (bmark.getJid().equals(conferenceJid.toBareJid())) {
|
||||
for (Bookmark bookmark : this.bookmarks) {
|
||||
final Jid jid = bookmark.getJid();
|
||||
if (jid != null && jid.equals(conferenceJid.toBareJid())) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user