reset allow_notification when we go offline
This commit is contained in:
parent
c9b791e5a2
commit
44bf5e7422
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue