From d8b209b04f115fbd6d448901640ae9c1278af845 Mon Sep 17 00:00:00 2001 From: Andrew Ferrazzutti Date: Thu, 10 Jun 2021 02:19:12 -0400 Subject: [PATCH] Send delivery receipts for double-puppeted messages --- matrix_puppeteer_line/portal.py | 1 + 1 file changed, 1 insertion(+) diff --git a/matrix_puppeteer_line/portal.py b/matrix_puppeteer_line/portal.py index 6f180bc..8ac00d3 100644 --- a/matrix_puppeteer_line/portal.py +++ b/matrix_puppeteer_line/portal.py @@ -132,6 +132,7 @@ class Portal(DBPortal, BasePortal): elif ((message.get(self.bridge.real_user_content_key, False) and await p.Puppet.get_by_custom_mxid(sender.mxid))): self.log.debug(f"Ignoring puppet-sent message by confirmed puppet user {sender.mxid}") + await self._send_delivery_receipt(event_id) return # TODO deduplication of outgoing messages text = message.body