summary refs log tree commit diff
path: root/synapse/federation/units.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-11-10 10:21:32 +0000
committerErik Johnston <erik@matrix.org>2014-11-10 10:21:32 +0000
commit1c06806f90a6368cdc3b9fa3b9053021b7c40e94 (patch)
treef9ed0b424cc37a7ea4e993ff774308c4e371549b /synapse/federation/units.py
parentUse current state to get room hosts, rather than querying the database (diff)
downloadsynapse-1c06806f90a6368cdc3b9fa3b9053021b7c40e94.tar.xz
Finish redaction algorithm.
Diffstat (limited to 'synapse/federation/units.py')
-rw-r--r--synapse/federation/units.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/synapse/federation/units.py b/synapse/federation/units.py
index 2070ffe1e2..d98014cac7 100644
--- a/synapse/federation/units.py
+++ b/synapse/federation/units.py
@@ -56,17 +56,15 @@ class Pdu(JsonEncodedObject):
         "origin_server_ts",
         "type",
         "destinations",
-        "transaction_id",
         "prev_events",
         "depth",
         "content",
-        "outlier",
         "hashes",
+        "user_id",
+        "auth_events",
         "signatures",  # Below this are keys valid only for State Pdus.
         "state_key",
         "prev_state",
-        "required_power_level",
-        "user_id",
     ]
 
     internal_keys = [