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