comparison 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
comparison
equal deleted inserted replaced
453:5731b038fc7f 454:60a9086b35c5
103 except: 103 except:
104 error(_('Error while parsing invitation')) 104 error(_('Error while parsing invitation'))
105 return 105 return
106 _jid, xmlstream = self.host.getJidNStream(profile) 106 _jid, xmlstream = self.host.getJidNStream(profile)
107 #TODO: we always autojoin so far, we need to add a parameter to autojoin/ignore invitations or let user choose to follow it 107 #TODO: we always autojoin so far, we need to add a parameter to autojoin/ignore invitations or let user choose to follow it
108 d = self.host.plugins["XEP-0045"].join(room.host, room.user, _jid.user, profile) 108 d = self.host.plugins["XEP-0045"].join(room, _jid.user, {}, profile)
109 109
110 110
111 class XEP_0249_handler(XMPPHandler): 111 class XEP_0249_handler(XMPPHandler):
112 implements(iwokkel.IDisco) 112 implements(iwokkel.IDisco)
113 113