summary refs log tree commit diff
path: root/synapse/events/utils.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-07-06 13:05:52 +0100
committerErik Johnston <erik@matrix.org>2015-07-06 13:05:52 +0100
commitfb47c3cfbe213c01b25e5605b81c998b764e2bf8 (patch)
treec69bc9fc5c3845b9db9d1324f6a4b17cb1ebe985 /synapse/events/utils.py
parentFilter and redact events that the other server doesn't have permission to see... (diff)
downloadsynapse-fb47c3cfbe213c01b25e5605b81c998b764e2bf8.tar.xz
Rename key and values for m.room.history_visibility. Support 'invited' value
Diffstat (limited to 'synapse/events/utils.py')
-rw-r--r--synapse/events/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/events/utils.py b/synapse/events/utils.py
index 4c82780f46..7bd78343f0 100644
--- a/synapse/events/utils.py
+++ b/synapse/events/utils.py
@@ -75,7 +75,7 @@ def prune_event(event):
     elif event_type == EventTypes.Aliases:
         add_fields("aliases")
     elif event_type == EventTypes.RoomHistoryVisibility:
-        add_fields("visibility")
+        add_fields("history_visibility")
 
     allowed_fields = {
         k: v