plugin xep-0045: entity type is changer to chatroom for room joined
This commit is contained in:
parent
41c9bab8a3
commit
df74d5f15e
1 changed files with 1 additions and 0 deletions
|
|
@ -85,6 +85,7 @@ class XEP_0045():
|
|||
self.host.bridge.roomJoined(room.roomJID.userhost(), [user.nick for user in room.roster.values()], room.nick, profile)
|
||||
|
||||
room_jid_s = room.roomJID.userhost()
|
||||
self.host.memory.updateEntityData(room.roomJID, "type", "chatroom", profile)
|
||||
self.clients[profile].joined_rooms[room_jid_s] = room
|
||||
if room.locked:
|
||||
#FIXME: the current behaviour is to create an instant room
|
||||
|
|
|
|||
Loading…
Reference in a new issue