Set local echoes as room last events

This commit is contained in:
miruka
2019-08-16 12:23:34 -04:00
parent 9ca66b6044
commit cf8ae13eae
2 changed files with 2 additions and 1 deletions

View File

@@ -198,6 +198,8 @@ class MatrixClient(nio.AsyncClient):
if user_id in self.models[Member, room_id]:
self.models[Event, user_id, room_id][f"echo-{uuid}"] = local
await self.set_room_last_event(room_id, local)
async with self.send_locks[room_id]:
response = await self.room_send(
room_id = room_id,