publish pep bookmarks 1.0 to an item called 'current'

This commit is contained in:
Daniel Gultsch 2020-05-19 19:36:47 +02:00
parent 24fb42c5f4
commit dd0f354b62
1 changed files with 1 additions and 6 deletions

View File

@ -1710,12 +1710,7 @@ public class XmppConnectionService extends Service {
for (Bookmark bookmark : account.getBookmarks()) { for (Bookmark bookmark : account.getBookmarks()) {
storage.addChild(bookmark); storage.addChild(bookmark);
} }
pushNodeAndEnforcePublishOptions(account, Namespace.BOOKMARKS, storage, PublishOptions.persistentWhitelistAccess()); pushNodeAndEnforcePublishOptions(account, Namespace.BOOKMARKS, storage, "current", PublishOptions.persistentWhitelistAccess());
}
private void pushNodeAndEnforcePublishOptions(final Account account, final String node, final Element element, final Bundle options) {
pushNodeAndEnforcePublishOptions(account, node, element, null, options, true);
} }