summary refs log tree commit diff
path: root/synapse/storage/__init__.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-09-23 17:40:58 +0100
committerErik Johnston <erik@matrix.org>2014-09-23 17:40:58 +0100
commitefea61dc507e1e02f3ac17417bd735a9d750bd12 (patch)
treeb3ca7308b1582aa7ab244dd04ce17e42ce599360 /synapse/storage/__init__.py
parentSYN-12: Implement auth for deletion by adding a 'delete_level' on the ops lev... (diff)
downloadsynapse-efea61dc507e1e02f3ac17417bd735a9d750bd12.tar.xz
Rename 'pruned' to 'pruned_because'
Diffstat (limited to 'synapse/storage/__init__.py')
-rw-r--r--synapse/storage/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/__init__.py b/synapse/storage/__init__.py
index 46d420b632..ac8ee89ab5 100644
--- a/synapse/storage/__init__.py
+++ b/synapse/storage/__init__.py
@@ -206,7 +206,7 @@ class DataStore(RoomMemberStore, RoomStore,
         unrec = {
             k: v
             for k, v in event.get_full_dict().items()
-            if k not in vals.keys() and k not in ["deleted", "pruned"]
+            if k not in vals.keys() and k not in ["deleted", "pruned_because"]
         }
         vals["unrecognized_keys"] = json.dumps(unrec)