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
|
|
@ -78,7 +78,7 @@ class XEP_0092(object):
|
|||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue