diff --git a/mautrix_telegram/portal.py b/mautrix_telegram/portal.py index 68bae608..3b6a81e4 100644 --- a/mautrix_telegram/portal.py +++ b/mautrix_telegram/portal.py @@ -1727,7 +1727,7 @@ class Portal(DBPortal, BasePortal): async with self.send_lock(sender_id): if await self._matrix_document_edit( - sender, client, content, space, capt, entities, media, event_id + sender, sender_id, client, content, space, capt, entities, media, event_id ): return try: