mirror of
https://github.com/element-hq/synapse
synced 2024-07-01 06:03:29 +00:00
Add future todo
This commit is contained in:
parent
35b18be859
commit
61f86e0d39
|
@ -668,6 +668,7 @@ class SlidingSyncHandler:
|
||||||
for room_id in list(filtered_room_id_set):
|
for room_id in list(filtered_room_id_set):
|
||||||
# TODO: Is there a good method to look up all rooms at once? (N+1 query problem)
|
# TODO: Is there a good method to look up all rooms at once? (N+1 query problem)
|
||||||
is_encrypted = (
|
is_encrypted = (
|
||||||
|
# TODO: Get state at the `to_token` instead of the current state
|
||||||
await self.storage_controllers.state.get_current_state_event(
|
await self.storage_controllers.state.get_current_state_event(
|
||||||
room_id, EventTypes.RoomEncryption, ""
|
room_id, EventTypes.RoomEncryption, ""
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue