mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-26 11:36:03 +03:00
Remove unneeded federation keys from events
This commit is contained in:
parent
390e48a8b0
commit
5dbe820e9a
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue