summaryrefslogtreecommitdiff
path: root/src/gui.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui.py')
-rw-r--r--src/gui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui.py b/src/gui.py
index 0a738577..56a26526 100644
--- a/src/gui.py
+++ b/src/gui.py
@@ -85,7 +85,7 @@ class Room(object):
role = stanza.getRole()
if not self.joined:
self.users.append(User(nick, affiliation, show, status, role))
- if nick.encode('utf-8') == self.own_nick.encode('utf-8'):
+ if nick.encode('utf-8') == self.own_nick:
self.joined = True
return self.add_info("%s is in the room" % (nick))
change_nick = stanza.getStatusCode() == '303'