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

@ -770,7 +770,7 @@ class XEP_0065(object):
except KeyError:
pass
try:
proxy = (yield self.host.findServiceEntities('proxy', 'bytestreams', profile=profile)).pop()
proxy = (yield self.host.findServiceEntities(client, 'proxy', 'bytestreams')).pop()
except (defer.CancelledError, StopIteration):
notFound(server)
iq_elt = client.IQ('get')