Message to join the room with an other nick only if the room is not joined yet
Because that message doesn’t make any sense if you are in the room and you get a nick conflict from the /nick command.
This commit is contained in:
parent
3015b3b9e5
commit
06d5ecb879
1 changed files with 2 additions and 1 deletions
|
@ -3511,7 +3511,8 @@ class Core(object):
|
|||
if config.get('alternative_nickname', '') != '':
|
||||
self.command_join('%s/%s'% (tab.name, tab.own_nick+config.get('alternative_nickname', '')))
|
||||
else:
|
||||
tab.add_message(_('You can join the room with an other nick, by typing "/join /other_nick"'), typ=2)
|
||||
if not tab.joined:
|
||||
tab.add_message(_('You can join the room with an other nick, by typing "/join /other_nick"'), typ=2)
|
||||
self.refresh_window()
|
||||
|
||||
def outgoing_stanza(self, stanza):
|
||||
|
|
Loading…
Reference in a new issue