Skip to content
Snippets Groups Projects
Commit 14bccbc2 authored by nkour's avatar nkour
Browse files

fix a tb

parent 908992ac
No related branches found
No related tags found
No related merge requests found
......@@ -908,8 +908,10 @@ class Interface:
self.add_event(account, jid, msg_type, file_props)
if gajim.config.get('notify_on_file_complete') and \
gajim.config.get('autopopupaway') or \
gajim.connections[account].connected in (2, 3):
(gajim.config.get('autopopupaway') or \
gajim.connections[account].connected in (2, 3)):
# we want to be notified and we are online/chat or we don't mind
# bugged when away/na/busy
instance = dialogs.PopupNotificationWindow(event_type, jid, account,
msg_type, file_props)
self.roster.popup_notification_windows.append(instance)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment