diff src/plugins/plugin_xep_0280.py @ 2148:a543eda2c923

core (memory/disco): getInfos now handle node + use client instead of profile in many methods
author Goffi <goffi@goffi.org>
date Sun, 12 Feb 2017 20:43:20 +0100
parents 33c8c4973743
children 6a004a22dd9e
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0280.py	Sun Feb 12 19:23:34 2017 +0100
+++ b/src/plugins/plugin_xep_0280.py	Sun Feb 12 20:43:20 2017 +0100
@@ -99,7 +99,7 @@
             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: