mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
don't filter membership events based on history visibility (#3874)
don't filter membership events based on history visibility as we will already have filtered the messages in the timeline, and state events are always visible. and because @erikjohnston said so.
This commit is contained in:
parent
3e6e94fe9f
commit
024be6cf18
0
changelog.d/3874.bugfix
Normal file
0
changelog.d/3874.bugfix
Normal file
@ -269,14 +269,7 @@ class PaginationHandler(object):
|
||||
|
||||
if state_ids:
|
||||
state = yield self.store.get_events(list(state_ids.values()))
|
||||
|
||||
if state:
|
||||
state = yield filter_events_for_client(
|
||||
self.store,
|
||||
user_id,
|
||||
state.values(),
|
||||
is_peeking=(member_event_id is None),
|
||||
)
|
||||
state = state.values()
|
||||
|
||||
time_now = self.clock.time_msec()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user