mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-05-02 15:46:02 -04:00
Flatten the /sync response to remove the event_map
This commit is contained in:
parent
f0ee1d515b
commit
3c3fc6b268
2 changed files with 14 additions and 24 deletions
|
@ -129,10 +129,9 @@ def format_event_for_client_v2(d):
|
|||
return d
|
||||
|
||||
|
||||
def format_event_for_client_v2_without_event_id(d):
|
||||
def format_event_for_client_v2_without_room_id(d):
|
||||
d = format_event_for_client_v2(d)
|
||||
d.pop("room_id", None)
|
||||
d.pop("event_id", None)
|
||||
return d
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue