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:
Maxime Buquet 2023-01-30 19:46:53 +00:00
commit af07864cbb

View File

@ -162,7 +162,7 @@ class XEP_0115(BasePlugin):
if pres['caps']['hash'] not in self.hashes:
try:
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
except XMPPError:
return