Remove unneeded federation keys from events

This commit is contained in:
Mark Haines 2014-12-19 12:16:26 +00:00
parent 390e48a8b0
commit 5dbe820e9a
1 changed files with 3 additions and 0 deletions

View File

@ -126,5 +126,8 @@ def serialize_event(hs, e):
del d["prev_events"] del d["prev_events"]
del d["hashes"] del d["hashes"]
del d["signatures"] del d["signatures"]
d.pop("depth", None)
d.pop("unsigned", None)
d.pop("origin", None)
return d return d