It would be silly to erase the remote bookmarks when we just want not to use them
This commit is contained in:
parent
8deb901253
commit
24b9931b8b
1 changed files with 2 additions and 0 deletions
|
@ -110,6 +110,8 @@ def save_privatexml(xmpp):
|
||||||
xmpp.plugin['xep_0048'].set_bookmarks_old(stanza_privatexml())
|
xmpp.plugin['xep_0048'].set_bookmarks_old(stanza_privatexml())
|
||||||
|
|
||||||
def save_remote(xmpp, core=None):
|
def save_remote(xmpp, core=None):
|
||||||
|
if config.get('use_remote_bookmarks', 'true').lower() == 'false':
|
||||||
|
return
|
||||||
method = config.get('use_bookmarks_method', '')
|
method = config.get('use_bookmarks_method', '')
|
||||||
if method not in ('pep', 'privatexml'):
|
if method not in ('pep', 'privatexml'):
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue