Don't filter out dummy events when we're checking the visibility of state

This commit is contained in:
Brendan Abolivier 2020-03-11 15:21:25 +00:00
parent 54dd28621b
commit 69ce55c510
No known key found for this signature in database
GPG key ID: 1E015C145F1916CD
2 changed files with 8 additions and 9 deletions

View file

@ -160,7 +160,7 @@ class MessageHandler(object):
raise NotFoundError("Can't find event for token %s" % (at_token,))
visible_events = yield filter_events_for_client(
self.storage, user_id, last_events, apply_retention_policies=False
self.storage, user_id, last_events, filter_send_to_client=False
)
event = last_events[0]