diff options
author | Erik Johnston <erik@matrix.org> | 2014-09-23 15:29:27 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-09-23 15:29:27 +0100 |
commit | b99f6eb904c9614aacd3532196be410341d0640b (patch) | |
tree | 419d5235bdb05117d2b60a9487924b4180c5383e /synapse/storage/__init__.py | |
parent | Add m.room.deletion. If an event is deleted it will be returned to clients 'p... (diff) | |
download | synapse-b99f6eb904c9614aacd3532196be410341d0640b.tar.xz |
Make sure we don't persist the 'pruned' key
Diffstat (limited to 'synapse/storage/__init__.py')
-rw-r--r-- | synapse/storage/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/__init__.py b/synapse/storage/__init__.py index 672ed6971e..46d420b632 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 is not "deleted" + if k not in vals.keys() and k not in ["deleted", "pruned"] } vals["unrecognized_keys"] = json.dumps(unrec) |