diff --git a/src/groupchat_control.py b/src/groupchat_control.py index e2dd6ab87..79d3a746e 100644 --- a/src/groupchat_control.py +++ b/src/groupchat_control.py @@ -1238,6 +1238,11 @@ class GroupchatControl(ChatControlBase): else: iter_ = self.get_contact_iter(nick) if not iter_: + if '210' in statusCode: + # Server changed our nick + self.nick = nick + s = _('You are now known as %s') % nick + self.print_conversation(s, 'info', tim=tim) iter_ = self.add_contact_to_roster(nick, show, role, affiliation, status, jid) newly_created = True