Do not display the 'is in the room' message, because it's useless: just take a look at the user list.

This commit is contained in:
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 2010-07-26 00:33:48 +00:00
parent ce7689f7db
commit 32925f51f2

View file

@ -441,8 +441,6 @@ class Gui(object):
if from_nick.encode('utf-8') == room.own_nick: if from_nick.encode('utf-8') == room.own_nick:
room.joined = True room.joined = True
self.add_message_to_room(room, _("Your nickname is %s") % (from_nick)) self.add_message_to_room(room, _("Your nickname is %s") % (from_nick))
else:
self.add_message_to_room(room, _("%s is in the room") % (from_nick))
else: else:
change_nick = stanza.getStatusCode() == '303' change_nick = stanza.getStatusCode() == '303'
kick = stanza.getStatusCode() == '307' kick = stanza.getStatusCode() == '307'