Fix the roster offline show toggle

This commit is contained in:
mathieui 2014-04-01 23:18:44 +02:00
parent 3c688335af
commit 09254dabc7

View file

@ -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')