Verified Commit 190c7a4a authored by mathieui's avatar mathieui

Save the bookmarks after changing the storage method

also fix a check that would make the handler never trigger…
parent 87e16546
......@@ -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):
"""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment