summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2019-11-29 11:25:11 +0000
committerGitHub <noreply@github.com>2019-11-29 11:25:11 +0000
commit6d8576c4ce5d37460c5fc1457f356e38e1f2e4aa (patch)
tree375662c0182edb588fd147a0ab0d50ddac6a8d2b /synapse/handlers
parentblacklist more tests (diff)
parentLint (diff)
downloadsynapse-6d8576c4ce5d37460c5fc1457f356e38e1f2e4aa.tar.xz
Merge pull request #6436 from matrix-org/babolivier/fix-state-retrieval
Discard retention policies when retrieving state
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 155ed6e06a..3b0156f516 100644
--- a/synapse/handlers/message.py
+++ b/synapse/handlers/message.py
@@ -138,7 +138,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
+                self.storage, user_id, last_events, apply_retention_policies=False
             )
 
             event = last_events[0]