core (memory/disco): getInfos now handle node + use client instead of profile in many methods

This commit is contained in:
Goffi 2017-02-12 20:43:20 +01:00
commit 3bc851abf2

View file

@ -85,7 +85,8 @@ class XEP_0055(object):
@param profile (unicode): %(doc_profile)s
@return: list[jid.JID]
"""
d = self.host.findFeaturesSet([NS_SEARCH], profile=profile)
client = self.host.getClient(profile)
d = self.host.findFeaturesSet(client, [NS_SEARCH])
return d.addCallback(lambda set_: list(set_))