publish pep bookmarks 1.0 to an item called 'current'
This commit is contained in:
parent
24fb42c5f4
commit
dd0f354b62
|
@ -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());
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue