Skip to content
Snippets Groups Projects
Commit 5dbe820e authored by Mark Haines's avatar Mark Haines
Browse files

Remove unneeded federation keys from events

parent 390e48a8
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment