parent
16c7dfca91
commit
5e5733e40a
|
@ -2749,7 +2749,9 @@ class Interface:
|
||||||
win = self.msg_win_mgr.get_window(fjid, account)
|
win = self.msg_win_mgr.get_window(fjid, account)
|
||||||
|
|
||||||
if win:
|
if win:
|
||||||
ctrl = win.get_controls(fjid, account)[0]
|
ctrls = win.get_controls(fjid, account)
|
||||||
|
if ctrls:
|
||||||
|
ctrl = ctrls[0]
|
||||||
|
|
||||||
if not ctrl:
|
if not ctrl:
|
||||||
ctrl = self.new_chat(contact, account,
|
ctrl = self.new_chat(contact, account,
|
||||||
|
|
Loading…
Reference in New Issue