changeset 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 5731b038fc7f
children 72522263cbc9
files src/plugins/plugin_xep_0249.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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):