From 02cc6ce0e4f9adce58b57f2a9bfd22acfc37d347 Mon Sep 17 00:00:00 2001 From: Andrew Ferrazzutti Date: Thu, 10 Jun 2021 02:19:24 -0400 Subject: [PATCH] Add missing await --- matrix_puppeteer_line/portal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix_puppeteer_line/portal.py b/matrix_puppeteer_line/portal.py index 8ac00d3..d7c3412 100644 --- a/matrix_puppeteer_line/portal.py +++ b/matrix_puppeteer_line/portal.py @@ -233,7 +233,7 @@ class Portal(DBPortal, BasePortal): 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) intent = sender.intent - intent.ensure_joined(self.mxid) + await intent.ensure_joined(self.mxid) if evt.image and evt.image.url: if not evt.image.is_sticker or self.config["bridge.receive_stickers"]: