mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
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
Block a user