Fix for #3650 (and whitespace cleanup)
This commit is contained in:
parent
282bc3346e
commit
458696948d
|
@ -1971,7 +1971,8 @@ class AccountsWindow:
|
||||||
'no_log_for').split()
|
'no_log_for').split()
|
||||||
if self.current_account in list_no_log_for:
|
if self.current_account in list_no_log_for:
|
||||||
list_no_log_for.remove(self.current_account)
|
list_no_log_for.remove(self.current_account)
|
||||||
if not self.xml.get_widget('log_history_checkbutton').get_active():
|
|
||||||
|
if not widget.get_active():
|
||||||
list_no_log_for.append(self.current_account)
|
list_no_log_for.append(self.current_account)
|
||||||
gajim.config.set_per('accounts', self.current_account, 'no_log_for',
|
gajim.config.set_per('accounts', self.current_account, 'no_log_for',
|
||||||
' '.join(list_no_log_for))
|
' '.join(list_no_log_for))
|
||||||
|
|
Loading…
Reference in New Issue