summary refs log tree commit diff
path: root/synapse/events
diff options
context:
space:
mode:
authorDenis <dakariakin@gmail.com>2022-09-20 10:44:38 +0200
committerGitHub <noreply@github.com>2022-09-20 09:44:38 +0100
commitc802ef14119b21cfdf8f5a9c246b695c98c0f718 (patch)
tree20deb7b9c36ce1a18245c016e549935c1e1d9bc7 /synapse/events
parentAdd support to purge rows from MSC2716 and other tables when purging a room (... (diff)
downloadsynapse-c802ef14119b21cfdf8f5a9c246b695c98c0f718.tar.xz
Don't include redundant prev_state in new events (#13791)
Diffstat (limited to 'synapse/events')
-rw-r--r--synapse/events/builder.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/synapse/events/builder.py b/synapse/events/builder.py
index 746bd3978d..e2ee10dd3d 100644
--- a/synapse/events/builder.py
+++ b/synapse/events/builder.py
@@ -167,7 +167,6 @@ class EventBuilder:
             "content": self.content,
             "unsigned": self.unsigned,
             "depth": depth,
-            "prev_state": [],
         }
 
         if self.is_state():