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
|
|
@ -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_))
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue