Fix initial and non-initial sync filters reversed
Issue introduced in 758edd8a6a
(0.6.1)
The filter for the first sync was passed as the filter for later
syncs and vice-versa, which caused problems like redaction events never
arriving.
This commit is contained in:
parent
89f8cf25d3
commit
65a1324eb0
@ -490,7 +490,7 @@ class MatrixClient(nio.AsyncClient):
|
||||
resp = await self.upload_filter(**first)
|
||||
first_id = resp.filter_id
|
||||
|
||||
self._sync_filter_ids = SyncFilterIds(others_id, first_id)
|
||||
self._sync_filter_ids = SyncFilterIds(first_id, others_id)
|
||||
return self._sync_filter_ids
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user