summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-11-06 15:19:00 +0000
committerErik Johnston <erik@matrix.org>2014-11-06 15:19:00 +0000
commitc6766d45b53ba51121ca15ae5806a5ac30f4f5d6 (patch)
tree3fb8f2356a63eab1123126e9362b9358025ad938 /synapse
parentImplement new replace_state and changed prev_state (diff)
downloadsynapse-c6766d45b53ba51121ca15ae5806a5ac30f4f5d6.tar.xz
Don't send prev_state to clients anymore
Diffstat (limited to 'synapse')
-rw-r--r--synapse/api/events/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/api/events/__init__.py b/synapse/api/events/__init__.py
index fc3f350570..98a66144e7 100644
--- a/synapse/api/events/__init__.py
+++ b/synapse/api/events/__init__.py
@@ -59,7 +59,6 @@ class SynapseEvent(JsonEncodedObject):
         "required_power_level",
         "age_ts",
         "prev_content",
-        "prev_state",
         "replaces_state",
         "redacted_because",
         "origin_server_ts",
@@ -76,6 +75,7 @@ class SynapseEvent(JsonEncodedObject):
         "prev_events",
         "hashes",
         "signatures",
+        "prev_state",
     ]
 
     required_keys = [