fix le bug du pseudo moisi
This commit is contained in:
parent
5137f86445
commit
9d5d96c5b0
2 changed files with 3 additions and 2 deletions
|
@ -85,7 +85,7 @@ class Room(object):
|
||||||
role = stanza.getRole()
|
role = stanza.getRole()
|
||||||
if not self.joined:
|
if not self.joined:
|
||||||
self.users.append(User(nick, affiliation, show, status, role))
|
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
|
self.joined = True
|
||||||
return self.add_info("%s is in the room" % (nick))
|
return self.add_info("%s is in the room" % (nick))
|
||||||
change_nick = stanza.getStatusCode() == '303'
|
change_nick = stanza.getStatusCode() == '303'
|
||||||
|
|
|
@ -3,6 +3,7 @@ logfile = logs
|
||||||
resource = poezio
|
resource = poezio
|
||||||
server = louiz.org
|
server = louiz.org
|
||||||
port = 5222
|
port = 5222
|
||||||
rooms = discussion@kikoo.louiz.org/poetest
|
rooms = discussion@kikoo.louiz.org/ウェブ登録サイト
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue