Fix local echo
This commit is contained in:
parent
8a99ccd976
commit
faaa5933d4
|
@ -1186,7 +1186,7 @@ class MatrixClient(nio.AsyncClient):
|
|||
)
|
||||
local_sender = ev.sender in self.backend.clients
|
||||
|
||||
if local_sender and tx_id and tx_id in model:
|
||||
if local_sender and tx_id and f"echo-{tx_id}" in model:
|
||||
item.id = f"echo-{tx_id}"
|
||||
|
||||
if not local_sender and not await self.event_is_past(ev):
|
||||
|
|
Loading…
Reference in New Issue
Block a user