mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-27 20:52:30 +00: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