fix nick behaviour when we enter a room with an already used nick.
This commit is contained in:
parent
f150b19098
commit
bf6e25576e
1 changed files with 2 additions and 4 deletions
|
@ -1533,11 +1533,9 @@ class GroupchatControl(ChatControlBase):
|
||||||
_('The nickname has not allowed characters.'))
|
_('The nickname has not allowed characters.'))
|
||||||
return
|
return
|
||||||
gajim.connections[self.account].join_gc(nick, self.room_jid, None)
|
gajim.connections[self.account].join_gc(nick, self.room_jid, None)
|
||||||
self.new_nick = nick
|
self.nick = nick
|
||||||
def on_cancel():
|
|
||||||
self.new_nick = ''
|
|
||||||
instance = dialogs.InputDialog(title, prompt, proposed_nick,
|
instance = dialogs.InputDialog(title, prompt, proposed_nick,
|
||||||
is_modal = False, ok_handler = on_ok, cancel_handler = on_cancel)
|
is_modal = False, ok_handler = on_ok)
|
||||||
|
|
||||||
def minimize(self, status='offline'):
|
def minimize(self, status='offline'):
|
||||||
# Minimize it
|
# Minimize it
|
||||||
|
|
Loading…
Add table
Reference in a new issue