comparison src/plugins/plugin_xep_0260.py @ 2148:a543eda2c923

core (memory/disco): getInfos now handle node + use client instead of profile in many methods
author Goffi <goffi@goffi.org>
date Sun, 12 Feb 2017 20:43:20 +0100
parents 33c8c4973743
children 8b37a62336c3
comparison
equal deleted inserted replaced
2147:bca699faf416 2148:a543eda2c923
445 return 445 return
446 if self._jingle_ibb is None: 446 if self._jingle_ibb is None:
447 log.warning(u"Jingle IBB (XEP-0261) plugin is not available, we have to close the session") 447 log.warning(u"Jingle IBB (XEP-0261) plugin is not available, we have to close the session")
448 self._j.terminate(self._j.REASON_CONNECTIVITY_ERROR, session, client.profile) 448 self._j.terminate(self._j.REASON_CONNECTIVITY_ERROR, session, client.profile)
449 else: 449 else:
450 d = self.host.hasFeature(self._jingle_ibb.NAMESPACE, session['peer_jid'], client.profile) 450 d = self.host.hasFeature(client, self._jingle_ibb.NAMESPACE, session['peer_jid'])
451 d.addCallback(self._doFallback, session, content_name, client) 451 d.addCallback(self._doFallback, session, content_name, client)
452 return d 452 return d
453 453
454 454
455 class XEP_0260_handler(XMPPHandler): 455 class XEP_0260_handler(XMPPHandler):