changeset 564:f65f5a324bd5

plugin quiz: fixed XEP-0045 call
author Goffi <goffi@goffi.org>
date Fri, 28 Dec 2012 20:05:08 +0100
parents da6eaa2af092
children 7573897831ee
files src/plugins/plugin_misc_quiz.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugins/plugin_misc_quiz.py	Fri Dec 28 02:27:34 2012 +0100
+++ b/src/plugins/plugin_misc_quiz.py	Fri Dec 28 20:05:08 2012 +0100
@@ -249,7 +249,7 @@
                 return
             
             _jid, xmlstream = self.host.getJidNStream(profile)
-            d = self.host.plugins["XEP-0045"].join(muc_service.userhost(), room_name, _jid.user, profile).addCallback(quizRoomJoined)
+            d = self.host.plugins["XEP-0045"].join(jid.JID("%s@%s" % (room_name, muc_service.userhost())), _jid.user, {}, profile).addCallback(quizRoomJoined)
 
         client = self.host.getClient(profile)
         if not client: