diff --git a/src/gajim.py b/src/gajim.py index ed8aa6bf5..47cc6edb4 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -295,8 +295,7 @@ class Interface: model[self.roster.status_message_menuitem_iter][3] = True # Inform all controls for this account of the connection state change - for ctrl in self.msg_win_mgr.get_controls( - type = message_control.TYPE_GC): + for ctrl in self.msg_win_mgr.get_controls(): if ctrl.account == account: if status == 'offline': ctrl.got_disconnected()