diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2020-03-11 20:07:58 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-11 20:07:58 +0000 |
commit | bd5e555b0d60c3b8f94f8ece805a27ec5fe13f24 (patch) | |
tree | a60c057655a73da8cca77214ebf2b217a67f1448 /synapse/handlers | |
parent | Add options to disable setting profile info for prevent changes. (#7053) (diff) | |
parent | Refactor a bit (diff) | |
download | synapse-bd5e555b0d60c3b8f94f8ece805a27ec5fe13f24.tar.xz |
Merge pull request #7066 from matrix-org/babolivier/dummy_events_state
Skip the correct visibility checks when checking the visibility of the state at a given event
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] |