mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-14 04:55:22 -04:00
Use the proper serialization format when bundling aggregations. (#12090)
This ensures that the `latest_event` field of the bundled aggregation for threads uses the same format as the other events in the response.
This commit is contained in:
parent
a511a890d7
commit
1d11b452b7
10 changed files with 130 additions and 143 deletions
|
@ -704,10 +704,8 @@ class RelationsTestCase(BaseRelationsTestCase):
|
|||
}
|
||||
},
|
||||
"event_id": thread_2,
|
||||
"room_id": self.room,
|
||||
"sender": self.user_id,
|
||||
"type": "m.room.test",
|
||||
"user_id": self.user_id,
|
||||
},
|
||||
relations_dict[RelationTypes.THREAD].get("latest_event"),
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue