Fix the roster offline show toggle
This commit is contained in:
parent
3c688335af
commit
09254dabc7
1 changed files with 1 additions and 1 deletions
|
@ -729,7 +729,7 @@ class RosterInfoTab(Tab):
|
|||
"""
|
||||
option = 'roster_show_offline'
|
||||
value = config.get(option, False)
|
||||
success = config.silent_set(option, not value)
|
||||
success = config.silent_set(option, str(not value))
|
||||
roster.modified()
|
||||
if not success:
|
||||
self.core.information(_('Unable to write in the config file'), 'Error')
|
||||
|
|
Loading…
Reference in a new issue