fixed #1509
This commit is contained in:
parent
660ddf847f
commit
3bde3a27e3
1 changed files with 9 additions and 7 deletions
|
@ -429,6 +429,8 @@ class Gui(object):
|
|||
status = stanza.getStatus()
|
||||
role = stanza.getRole()
|
||||
if not room.joined: # user in the room BEFORE us.
|
||||
# ignore redondant presence message, see bug #1509
|
||||
if from_nick not in [user.nick for user in room.users]:
|
||||
room.users.append(User(from_nick, affiliation, show, status,
|
||||
role))
|
||||
if from_nick.encode('utf-8') == room.own_nick:
|
||||
|
|
Loading…
Reference in a new issue