mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 08:04:49 -04:00
Merge pull request #9150 from Yoric/develop-context
New API /_synapse/admin/rooms/{roomId}/context/{eventId}
This commit is contained in:
commit
b0b2cac057
8 changed files with 289 additions and 6 deletions
|
@ -80,6 +80,7 @@ async def filter_events_for_client(
|
|||
events = [e for e in events if not e.internal_metadata.is_soft_failed()]
|
||||
|
||||
types = ((EventTypes.RoomHistoryVisibility, ""), (EventTypes.Member, user_id))
|
||||
|
||||
event_id_to_state = await storage.state.get_state_for_events(
|
||||
frozenset(e.event_id for e in events),
|
||||
state_filter=StateFilter.from_types(types),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue