diff src/plugins/plugin_xep_0045.py @ 1315:be3a301540c0 frontends_multi_profiles

core (memory): updateEntityData now accept a "silent" argument to avoid sending signal to frontends when updating an attribute with "signalOnUpdate" flag.
author Goffi <goffi@goffi.org>
date Mon, 09 Feb 2015 21:39:51 +0100
parents 4b27b9bf31b0
children c01cbd8fc8dd
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0045.py	Mon Feb 09 21:39:51 2015 +0100
+++ b/src/plugins/plugin_xep_0045.py	Mon Feb 09 21:39:51 2015 +0100
@@ -696,7 +696,7 @@
             self.userLeftRoom(room, user)
 
     def userJoinedRoom(self, room, user):
-        self.host.memory.updateEntityData(room.roomJID, "type", "chatroom", self.parent.profile)
+        self.host.memory.updateEntityData(room.roomJID, "type", "chatroom", profile_key=self.parent.profile)
         if user.nick in self.__changing_nicks:
             self.__changing_nicks.remove(user.nick)
         else: