0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-13 13:03:27 +01: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:
Matthew Hodgson 2018-09-14 18:12:52 +01:00 committed by GitHub
parent 3e6e94fe9f
commit 024be6cf18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 8 deletions

0
changelog.d/3874.bugfix Normal file
View file

View 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()