Fix dict changing size problem in retry_decrypt_..
Also add a copy() method to models, and make them able to not have a sync_id (in which case they won't send pyotherside events).
This commit is contained in:
@@ -981,7 +981,7 @@ class MatrixClient(nio.AsyncClient):
|
||||
|
||||
_, room_id, _ = sync_id
|
||||
|
||||
for ev in model.values():
|
||||
for ev in model.copy().values():
|
||||
room = self.all_rooms[room_id]
|
||||
|
||||
if isinstance(ev.source, nio.MegolmEvent):
|
||||
|
||||
Reference in New Issue
Block a user