Add missing await

This commit is contained in:
Andrew Ferrazzutti 2021-06-10 02:19:24 -04:00
parent d8b209b04f
commit 02cc6ce0e4
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ class Portal(DBPortal, BasePortal):
self.log.warning(f"Could not find ID of LINE user who sent event {evt.id}") self.log.warning(f"Could not find ID of LINE user who sent event {evt.id}")
sender = await p.Puppet.get_by_profile(evt.sender, source.client) sender = await p.Puppet.get_by_profile(evt.sender, source.client)
intent = sender.intent intent = sender.intent
intent.ensure_joined(self.mxid) await intent.ensure_joined(self.mxid)
if evt.image and evt.image.url: if evt.image and evt.image.url:
if not evt.image.is_sticker or self.config["bridge.receive_stickers"]: if not evt.image.is_sticker or self.config["bridge.receive_stickers"]: