From df74d5f15e2348a99747d896eb84dc76eee12ccb Mon Sep 17 00:00:00 2001 From: Goffi Date: Fri, 17 Aug 2012 03:08:37 +0200 Subject: [PATCH] plugin xep-0045: entity type is changer to chatroom for room joined --- src/plugins/plugin_xep_0045.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/plugin_xep_0045.py b/src/plugins/plugin_xep_0045.py index b3434e78..3636ba32 100755 --- a/src/plugins/plugin_xep_0045.py +++ b/src/plugins/plugin_xep_0045.py @@ -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