Skip to content
Snippets Groups Projects
Commit 44bf5e74 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

reset allow_notification when we go offline

parent c9b791e5
No related branches found
No related tags found
No related merge requests found
......@@ -182,6 +182,8 @@ class Interface:
#('STATUS', account, status)
if status != 'offline':
gobject.timeout_add(30000, self.allow_notif, account)
else:
self.allow_notifications[account] = False
self.roster.on_status_changed(account, status)
def handle_event_notify(self, account, array):
......
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