Save the bookmarks after changing the storage method
also fix a check that would make the handler never trigger…
This commit is contained in:
parent
87e16546b9
commit
190c7a4a7b
1 changed files with 2 additions and 1 deletions
|
@ -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):
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue