diff src/plugins/plugin_xep_0092.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 8b37a62336c3
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0092.py	Sun Feb 12 19:23:34 2017 +0100
+++ b/src/plugins/plugin_xep_0092.py	Sun Feb 12 20:43:20 2017 +0100
@@ -78,7 +78,7 @@
             d = iq_elt.send()
             d.addCallback(self._gotVersion)
             return d
-        d = self.host.checkFeature(NS_VERSION, jid_, client.profile)
+        d = self.host.checkFeature(client, NS_VERSION, jid_)
         d.addCallback(getVersion)
         reactor.callLater(TIMEOUT, d.cancel) # XXX: timeout needed because some clients don't answer the IQ
         return d