diff --git a/mautrix_telegram/portal.py b/mautrix_telegram/portal.py index d4e1da9b..2ec7d5e3 100644 --- a/mautrix_telegram/portal.py +++ b/mautrix_telegram/portal.py @@ -1262,12 +1262,7 @@ class Portal(DBPortal, BasePortal): async def _send_delivery_receipt( self, event_id: EventID, room_id: RoomID | None = None ) -> None: - # TODO maybe check if the bot is in the room rather than assuming based on self.encrypted - if ( - event_id - and self.config["bridge.delivery_receipts"] - and (self.encrypted or self.peer_type != "user") - ): + if event_id and self.config["bridge.delivery_receipts"]: try: await self.az.intent.mark_read(room_id or self.mxid, event_id) except Exception: