prevent a TB

This commit is contained in:
Yann Leboulanger 2005-10-14 18:10:14 +00:00
parent 59213b3279
commit dc0fa61cd6
1 changed files with 2 additions and 0 deletions

View File

@ -238,6 +238,8 @@ class Interface:
model[self.roster.status_message_menuitem_iter][3] = False # sensitivity for this menuitem
gajim.allow_notifications[account] = False
# we are disconnected from all gc
if not gajim.gc_connected.has_key(account):
return
for room_jid in gajim.gc_connected[account]:
if self.windows[account]['gc'].has_key(room_jid):
self.windows[account]['gc'][room_jid].got_disconnected(room_jid)