diff --git a/src/plugins/plugin_xep_0249.py b/src/plugins/plugin_xep_0249.py index c66e8815..d9a721cc 100755 --- a/src/plugins/plugin_xep_0249.py +++ b/src/plugins/plugin_xep_0249.py @@ -105,7 +105,7 @@ class XEP_0249(): 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):