prevent traceback if reconnect menuitem is activated. Fixes #6834
This commit is contained in:
parent
4b61a8682c
commit
c6869674aa
|
@ -3146,12 +3146,12 @@ class RosterWindow:
|
||||||
|
|
||||||
def on_reconnect(self, widget, jid, account):
|
def on_reconnect(self, widget, jid, account):
|
||||||
"""
|
"""
|
||||||
When disconnect menuitem is activated: disconect from room
|
When reconnect menuitem is activated: join the room
|
||||||
"""
|
"""
|
||||||
if jid in gajim.interface.minimized_controls[account]:
|
if jid in gajim.interface.minimized_controls[account]:
|
||||||
ctrl = gajim.interface.minimized_controls[account][jid]
|
ctrl = gajim.interface.minimized_controls[account][jid]
|
||||||
gajim.interface.join_gc_room(account, jid, ctrl.nick,
|
gajim.interface.join_gc_room(account, jid, ctrl.nick,
|
||||||
gajim.gc_passwords.get(jid, ''))
|
gajim.gc_passwords.get(jid, ''))
|
||||||
|
|
||||||
def on_send_single_message_menuitem_activate(self, widget, account,
|
def on_send_single_message_menuitem_activate(self, widget, account,
|
||||||
contact=None):
|
contact=None):
|
||||||
|
|
Loading…
Reference in New Issue