From dd0f354b62639e13bd58cdbbb075caba0ebbbe9e Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Tue, 19 May 2020 19:36:47 +0200 Subject: [PATCH] publish pep bookmarks 1.0 to an item called 'current' --- .../conversations/services/XmppConnectionService.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java index 694a49bed..8ea3ed2ea 100644 --- a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java +++ b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java @@ -1710,12 +1710,7 @@ public class XmppConnectionService extends Service { for (Bookmark bookmark : account.getBookmarks()) { storage.addChild(bookmark); } - pushNodeAndEnforcePublishOptions(account, Namespace.BOOKMARKS, storage, PublishOptions.persistentWhitelistAccess()); - - } - - private void pushNodeAndEnforcePublishOptions(final Account account, final String node, final Element element, final Bundle options) { - pushNodeAndEnforcePublishOptions(account, node, element, null, options, true); + pushNodeAndEnforcePublishOptions(account, Namespace.BOOKMARKS, storage, "current", PublishOptions.persistentWhitelistAccess()); }