From 44bf5e7422945eb1665fc8d51afe2d962a7ed1d2 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sun, 15 May 2005 16:54:04 +0000 Subject: [PATCH] reset allow_notification when we go offline --- src/gajim.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gajim.py b/src/gajim.py index fafcb857c..fbf08043b 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -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):