summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2020-03-11 20:07:58 +0000
committerGitHub <noreply@github.com>2020-03-11 20:07:58 +0000
commitbd5e555b0d60c3b8f94f8ece805a27ec5fe13f24 (patch)
treea60c057655a73da8cca77214ebf2b217a67f1448 /synapse/handlers
parentAdd options to disable setting profile info for prevent changes. (#7053) (diff)
parentRefactor a bit (diff)
downloadsynapse-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.py2
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]