Fix inviting a contact to a minimized groupchat

This commit is contained in:
Julien Pivotto 2007-06-04 17:03:01 +00:00
parent 4dea208279
commit 246fd6d8fb
1 changed files with 2 additions and 1 deletions

View File

@ -2052,7 +2052,8 @@ class RosterWindow:
invite_to_submenu.append(invite_to_new_room_menuitem) invite_to_submenu.append(invite_to_new_room_menuitem)
rooms = [] # a list of (room_jid, account) tuple rooms = [] # a list of (room_jid, account) tuple
for gc_control in gajim.interface.msg_win_mgr.get_controls( for gc_control in gajim.interface.msg_win_mgr.get_controls(
message_control.TYPE_GC): message_control.TYPE_GC) + \
gajim.interface.minimized_controls[account].values():
acct = gc_control.account acct = gc_control.account
room_jid = gc_control.room_jid room_jid = gc_control.room_jid
if gajim.gc_connected[acct].has_key(room_jid) and \ if gajim.gc_connected[acct].has_key(room_jid) and \