From 24b9931b8b5e03259a2167da02f64fb277a9a6d4 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sun, 27 Nov 2011 17:38:01 +0100 Subject: [PATCH] It would be silly to erase the remote bookmarks when we just want not to use them --- src/bookmark.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bookmark.py b/src/bookmark.py index 43df29ab..20ea05a7 100644 --- a/src/bookmark.py +++ b/src/bookmark.py @@ -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: