It would be silly to erase the remote bookmarks when we just want not to use them

This commit is contained in:
mathieui 2011-11-27 17:38:01 +01:00
parent 8deb901253
commit 24b9931b8b

View file

@ -110,6 +110,8 @@ def save_privatexml(xmpp):
xmpp.plugin['xep_0048'].set_bookmarks_old(stanza_privatexml())
def save_remote(xmpp, core=None):
if config.get('use_remote_bookmarks', 'true').lower() == 'false':
return
method = config.get('use_bookmarks_method', '')
if method not in ('pep', 'privatexml'):
try: