summary refs log tree commit diff
path: root/synapse/visibility.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2019-12-17 10:56:36 +0000
committerRichard van der Hoff <richard@matrix.org>2019-12-17 10:56:36 +0000
commit2eda49a8db66e2588a64c73b4642e9a05e3663d5 (patch)
tree85e7e19f266d3dfbdc2836aaa4f263f4c1c8bdeb /synapse/visibility.py
parentMerge remote-tracking branch 'origin/release-v1.7.0' into matrix-org-hotfixes (diff)
parentAdd auth events as per spec. (#6556) (diff)
downloadsynapse-2eda49a8db66e2588a64c73b4642e9a05e3663d5.tar.xz
Merge remote-tracking branch 'origin/release-v1.7.1' into matrix-org-hotfixes
Diffstat (limited to 'synapse/visibility.py')
-rw-r--r--synapse/visibility.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/visibility.py b/synapse/visibility.py

index dffe943b28..100dc47a8a 100644 --- a/synapse/visibility.py +++ b/synapse/visibility.py
@@ -52,7 +52,8 @@ def filter_events_for_client( apply_retention_policies=True, ): """ - Check which events a user is allowed to see + Check which events a user is allowed to see. If the user can see the event but its + sender asked for their data to be erased, prune the content of the event. Args: storage