diff options
author | Mark Haines <mark.haines@matrix.org> | 2014-12-19 12:16:26 +0000 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2014-12-19 12:16:26 +0000 |
commit | 5dbe820e9ac94247148eb57ce1c78f6a0c516004 (patch) | |
tree | 003f15775c3eb0cea8ab89be10e5ce5e911ac616 | |
parent | SYN-203: Handle requests for thunbnails for images that are small (diff) | |
download | synapse-5dbe820e9ac94247148eb57ce1c78f6a0c516004.tar.xz |
Remove unneeded federation keys from events
-rw-r--r-- | synapse/events/utils.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/events/utils.py b/synapse/events/utils.py index 94f3f15f52..4849d3ce41 100644 --- a/synapse/events/utils.py +++ b/synapse/events/utils.py @@ -126,5 +126,8 @@ def serialize_event(hs, e): del d["prev_events"] del d["hashes"] del d["signatures"] + d.pop("depth", None) + d.pop("unsigned", None) + d.pop("origin", None) return d |