diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2020-03-11 15:21:25 +0000 |
---|---|---|
committer | Brendan Abolivier <babolivier@matrix.org> | 2020-03-11 17:52:54 +0000 |
commit | 69ce55c51082d03e549863f2149b4cf10cb1de19 (patch) | |
tree | 2461b318b8cb48f567ccfb7abb4d734be072bd02 /synapse/handlers | |
parent | Add options to disable setting profile info for prevent changes. (#7053) (diff) | |
download | synapse-69ce55c51082d03e549863f2149b4cf10cb1de19.tar.xz |
Don't filter out dummy events when we're checking the visibility of state
Diffstat (limited to 'synapse/handlers')
-rw-r--r-- | synapse/handlers/message.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/message.py b/synapse/handlers/message.py index 0c84c6cec4..b743fc2dcc 100644 --- a/synapse/handlers/message.py +++ b/synapse/handlers/message.py @@ -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] |