summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/core.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/core.py b/src/core/core.py
index 344193bf..a16f4cde 100644
--- a/src/core/core.py
+++ b/src/core/core.py
@@ -355,9 +355,10 @@ class Core(object):
"""
Called when the use_bookmarks_method option changes
"""
- if 'value' not in ('pep', 'privatexml'):
+ if value not in ('pep', 'privatexml'):
return
self.bookmarks.preferred = value
+ self.bookmarks.save(self.xmpp, core=self)
def on_gaps_config_change(self, option, value):
"""