Fix #2470 (server_cycle joining the wrong room with domain-only muc)
This commit is contained in:
parent
fd0735fe2d
commit
a9f0607123
1 changed files with 4 additions and 1 deletions
|
@ -2284,6 +2284,9 @@ class Core(object):
|
|||
if tab.joined:
|
||||
muc.leave_groupchat(tab.core.xmpp, tab.get_name(), tab.own_nick, message)
|
||||
tab.joined = False
|
||||
if tab.get_name() == domain:
|
||||
self.command_join('"@%s/%s"' %(tab.get_name(), tab.own_nick))
|
||||
else:
|
||||
self.command_join('"%s/%s"' %(tab.get_name(), tab.own_nick))
|
||||
|
||||
def completion_server_cycle(self, the_input):
|
||||
|
|
Loading…
Reference in a new issue