core (memory/disco): getInfos now handle node + use client instead of profile in many methods
This commit is contained in:
parent
a205ff4e90
commit
3bc851abf2
1 changed files with 69 additions and 60 deletions
|
|
@ -105,7 +105,8 @@ class XEP_0277(object):
|
|||
return {'available': C.BOOL_FALSE}
|
||||
|
||||
def getFeatures(self, profile):
|
||||
d = self.host.checkFeatures([], identity=('pubsub', 'pep'), profile=profile)
|
||||
client = self.host.getClient(profile)
|
||||
d = self.host.checkFeatures(client, [], identity=('pubsub', 'pep'))
|
||||
d.addCallbacks(self._checkFeaturesCb, self._checkFeaturesEb)
|
||||
return d
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue