summary refs log tree commit diff
path: root/synapse/replication/resource.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-03-17 15:47:51 +0000
committerErik Johnston <erik@matrix.org>2017-03-17 15:50:01 +0000
commit61f471f7793e7cd24d4dde5afd34cea1e46df724 (patch)
tree031b3cab4e49966d2a7ddd3aefd02bcfb444a511 /synapse/replication/resource.py
parentMerge pull request #2016 from matrix-org/rav/queue_pdus_during_join (diff)
downloadsynapse-61f471f7793e7cd24d4dde5afd34cea1e46df724.tar.xz
Don't send the full event json over replication
Diffstat (limited to 'synapse/replication/resource.py')
-rw-r--r--synapse/replication/resource.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/replication/resource.py b/synapse/replication/resource.py
index d8eb14592b..03930fe958 100644
--- a/synapse/replication/resource.py
+++ b/synapse/replication/resource.py
@@ -283,12 +283,12 @@ class ReplicationResource(Resource):
 
             if request_events != upto_events_token:
                 writer.write_header_and_rows("events", res.new_forward_events, (
-                    "position", "internal", "json", "state_group"
+                    "position", "event_id", "room_id", "type", "state_key",
                 ), position=upto_events_token)
 
             if request_backfill != upto_backfill_token:
                 writer.write_header_and_rows("backfill", res.new_backfill_events, (
-                    "position", "internal", "json", "state_group",
+                    "position", "event_id", "room_id", "type", "state_key", "redacts",
                 ), position=upto_backfill_token)
 
             writer.write_header_and_rows(