plugin quiz: fixed XEP-0045 call

This commit is contained in:
Goffi 2012-12-28 20:05:08 +01:00
commit abeedd86b8

View file

@ -249,7 +249,7 @@ class Quiz():
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: