forked from mirror/monocles_chat_clean
Fix can't save first bookmark on old PEP
This commit is contained in:
parent
504052f96a
commit
2c867bdb14
1 changed files with 7 additions and 1 deletions
|
@ -694,7 +694,13 @@ public class Account extends AbstractEntity implements AvatarService.Avatarable
|
|||
return ImmutableList.copyOf(this.bookmarks.values());
|
||||
}
|
||||
}
|
||||
public boolean areBookmarksLoaded() { return bookmarksLoaded; }
|
||||
public boolean areBookmarksLoaded() {
|
||||
// No way to tell if old PEP bookmarks are all loaded yet if they are empty
|
||||
// because we don't manually fetch them...
|
||||
if (getXmppConnection().getFeatures().bookmarksConversion()) return true;
|
||||
|
||||
return bookmarksLoaded;
|
||||
}
|
||||
|
||||
public void setBookmarks(Map<Jid, Bookmark> bookmarks) {
|
||||
synchronized (this.bookmarks) {
|
||||
|
|
Loading…
Add table
Reference in a new issue