use a connected account to join groupchat when we press Ctrl+J
This commit is contained in:
parent
68615ee38a
commit
1cbb9ad3fb
|
@ -5716,7 +5716,10 @@ class RosterWindow:
|
||||||
Bring up the conference join dialog, when CTRL+J accelerator is being
|
Bring up the conference join dialog, when CTRL+J accelerator is being
|
||||||
activated
|
activated
|
||||||
"""
|
"""
|
||||||
account = gajim.connections.keys()[0]
|
# find a conencted account:
|
||||||
|
for account in gajim.connections:
|
||||||
|
if gajim.account_is_connected(account):
|
||||||
|
break
|
||||||
self.on_join_gc_activate(None, account)
|
self.on_join_gc_activate(None, account)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue