diff --git a/src/gajim.py b/src/gajim.py index a4cc5cf8c8565febcd29965a3e0584b829d24b9a..4a8563aafb59f474c2d9bc0a31e9c01d4b646e0e 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -1408,7 +1408,7 @@ class Interface: self.roster.on_disconnect(None, room_jid, account) else: win = self.msg_win_mgr.get_window(room_jid, account) - ctrl = win.get_gc_control(room_jid, account) + ctrl = self.msg_win_mgr.get_gc_control(room_jid, account) win.remove_tab(ctrl, 3) dlg = dialogs.InputDialog(_('Password Required'),