Fix inviting a contact to a minimized groupchat
This commit is contained in:
parent
4dea208279
commit
246fd6d8fb
|
@ -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 \
|
||||||
|
|
Loading…
Reference in New Issue