diff src/plugins/plugin_xep_0249.py @ 454:60a9086b35c5

plugin XEP-0249: fixed join (signature changed after wokkel update)
author Goffi <goffi@goffi.org>
date Mon, 23 Jan 2012 00:13:37 +0100
parents f964dcec1611
children cf005701624b
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0249.py	Sun Jan 22 19:41:02 2012 +0100
+++ b/src/plugins/plugin_xep_0249.py	Mon Jan 23 00:13:37 2012 +0100
@@ -105,7 +105,7 @@
             return
         _jid, xmlstream = self.host.getJidNStream(profile)
         #TODO: we always autojoin so far, we need to add a parameter to autojoin/ignore invitations or let user choose to follow it
-        d = self.host.plugins["XEP-0045"].join(room.host, room.user, _jid.user, profile)
+        d = self.host.plugins["XEP-0045"].join(room, _jid.user, {}, profile)
 
 
 class XEP_0249_handler(XMPPHandler):