diff --git a/gajim/roster_window.py b/gajim/roster_window.py index a0402346f89489956881208d937972d8a0d91ff1..5443a7dc8360a2451fdd1ec593308264cf9235c9 100644 --- a/gajim/roster_window.py +++ b/gajim/roster_window.py @@ -2973,15 +2973,6 @@ def on_disconnect(self, widget, jid, account): ctrl.leave() self.remove_groupchat(jid, account) - def on_reconnect(self, widget, jid, account): - """ - When reconnect menuitem is activated: join the room - """ - if jid in app.interface.minimized_controls[account]: - ctrl = app.interface.minimized_controls[account][jid] - app.interface.join_gc_room(account, jid, ctrl.nick, - app.gc_passwords.get(jid, '')) - def on_send_single_message_menuitem_activate(self, widget, account, contact=None): if contact is None: @@ -5121,12 +5112,6 @@ def make_groupchat_menu(self, event, titer): account) menu.append(rename_menuitem) - if not app.gc_connected[account].get(jid, False): - connect_menuitem = Gtk.MenuItem.new_with_mnemonic(_( - '_Reconnect')) - connect_menuitem.connect('activate', self.on_reconnect, jid, - account) - menu.append(connect_menuitem) disconnect_menuitem = Gtk.MenuItem.new_with_mnemonic(_( '_Leave')) disconnect_menuitem.connect('activate', self.on_disconnect, jid,