summary refs log tree commit diff
path: root/synapse/events
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-01-27 16:24:22 +0000
committerMark Haines <mark.haines@matrix.org>2015-01-27 16:24:22 +0000
commita56008842b43089433768f569f35b2d14523ac39 (patch)
tree275d2f405d9da059b8deba68180308ac6f07bd17 /synapse/events
parentStart implementing the non-incremental sync portion of the v2 /sync API (diff)
downloadsynapse-a56008842b43089433768f569f35b2d14523ac39.tar.xz
Start implementing incremental initial sync
Diffstat (limited to 'synapse/events')
-rw-r--r--synapse/events/utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/events/utils.py b/synapse/events/utils.py
index b7f1ad4b40..42fb0371e5 100644
--- a/synapse/events/utils.py
+++ b/synapse/events/utils.py
@@ -137,6 +137,7 @@ def serialize_event(e, time_now_ms, client_event=True, strip_ids=False):
     d.pop("depth", None)
     d.pop("unsigned", None)
     d.pop("origin", None)
+    d.pop("prev_state", None)
 
     if strip_ids:
         d.pop("room_id", None)