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

@ -99,7 +99,7 @@ class XEP_0280(object):
log.info(_(u"Not activating message carbons as requested in params"))
return
try:
yield self.host.checkFeatures((NS_CARBONS,), profile=client.profile)
yield self.host.checkFeatures(client, (NS_CARBONS,))
except exceptions.FeatureNotFound:
log.warning(_(u"server doesn't handle message carbons"))
else: