XEP-0115: fix a missing await in caps fetching

This commit is contained in:
mathieui 2023-01-30 20:37:16 +01:00
parent 4a6064772c
commit dc4b1c7367

View file

@ -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