Merge branch 'fix-caps-fetch' into 'master'
XEP-0115: fix a missing await in caps fetching See merge request poezio/slixmpp!227
This commit is contained in:
commit
af07864cbb
@ -162,7 +162,7 @@ class XEP_0115(BasePlugin):
|
|||||||
if pres['caps']['hash'] not in self.hashes:
|
if pres['caps']['hash'] not in self.hashes:
|
||||||
try:
|
try:
|
||||||
log.debug("Unknown caps hash: %s", pres['caps']['hash'])
|
log.debug("Unknown caps hash: %s", pres['caps']['hash'])
|
||||||
self.xmpp['xep_0030'].get_info(jid=pres['from'], ifrom=ifrom)
|
await self.xmpp['xep_0030'].get_info(jid=pres['from'], ifrom=ifrom)
|
||||||
return
|
return
|
||||||
except XMPPError:
|
except XMPPError:
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user