Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

don't filter membership events based on history visibility #3874

Merged
merged 3 commits into from
Sep 14, 2018
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions synapse/handlers/pagination.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,14 +269,7 @@ def get_messages(self, requester, room_id=None, pagin_config=None,

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

Expand Down