Remove unneeded federation keys from events
This commit is contained in:
parent
390e48a8b0
commit
5dbe820e9a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue