forked from fair/matrix-puppeteer-line
Add missing await
This commit is contained in:
parent
d8b209b04f
commit
02cc6ce0e4
|
@ -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"]:
|
||||||
|
|
Loading…
Reference in New Issue