summaryrefslogtreecommitdiff
path: root/src/bookmark.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2011-11-27 17:38:01 +0100
committermathieui <mathieui@mathieui.net>2011-11-27 17:38:01 +0100
commit24b9931b8b5e03259a2167da02f64fb277a9a6d4 (patch)
tree4c395b580d84fc4159747e2a4f0c653ec8e0107d /src/bookmark.py
parent8deb9012537a9a3697fcf13c95f638dab789a3d6 (diff)
downloadpoezio-24b9931b8b5e03259a2167da02f64fb277a9a6d4.tar.gz
poezio-24b9931b8b5e03259a2167da02f64fb277a9a6d4.tar.bz2
poezio-24b9931b8b5e03259a2167da02f64fb277a9a6d4.tar.xz
poezio-24b9931b8b5e03259a2167da02f64fb277a9a6d4.zip
It would be silly to erase the remote bookmarks when we just want not to use them
Diffstat (limited to 'src/bookmark.py')
-rw-r--r--src/bookmark.py2
1 files changed, 2 insertions, 0 deletions
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: