[jim] fix logic bug
This commit is contained in:
parent
d1bb5cbc74
commit
0190ac90a4
|
@ -720,7 +720,6 @@ def sanitize_filename(filename):
|
||||||
|
|
||||||
def allow_showing_notification(account):
|
def allow_showing_notification(account):
|
||||||
'''is it allowed to show nofication?'''
|
'''is it allowed to show nofication?'''
|
||||||
if gajim.config.get('notify_on_new_message'):
|
|
||||||
# check OUR status and if we allow notifications for that status
|
# check OUR status and if we allow notifications for that status
|
||||||
if gajim.config.get('autopopupaway'): # always show notification
|
if gajim.config.get('autopopupaway'): # always show notification
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Reference in New Issue