diff options
author | Erik Johnston <erik@matrix.org> | 2015-07-13 13:50:57 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-07-13 13:50:57 +0100 |
commit | 5989637f37b127f2a0c55ef0b1085ebd0d2928c1 (patch) | |
tree | 0480f8a77111f35aede6622e7ff0ed8329b6a6dd /synapse/events | |
parent | Comments (diff) | |
parent | Merge pull request #196 from matrix-org/erikj/room_history (diff) | |
download | synapse-5989637f37b127f2a0c55ef0b1085ebd0d2928c1.tar.xz |
Merge branch 'develop' of github.com:matrix-org/synapse into erikj/receipts
Diffstat (limited to 'synapse/events')
-rw-r--r-- | synapse/events/utils.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/events/utils.py b/synapse/events/utils.py index 1aa952150e..7bd78343f0 100644 --- a/synapse/events/utils.py +++ b/synapse/events/utils.py @@ -74,6 +74,8 @@ def prune_event(event): ) elif event_type == EventTypes.Aliases: add_fields("aliases") + elif event_type == EventTypes.RoomHistoryVisibility: + add_fields("history_visibility") allowed_fields = { k: v |