1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2026-01-03 23:22:30 +03:00

Use sender instead of content.creator field on m.room.create events (#3675)

* Use sender instead of content.creator field on m.room.create events

* Restore room_version fields in fixtures

* Add test case for undefined sender scenario
This commit is contained in:
Johannes Marbach
2023-08-24 13:58:04 +02:00
committed by GitHub
parent c5245a887b
commit 65cbbaaf01
13 changed files with 44 additions and 56 deletions

View File

@@ -2266,7 +2266,6 @@ describe("MatrixClient", function () {
function roomCreateEvent(newRoomId: string, predecessorRoomId: string): MatrixEvent {
return new MatrixEvent({
content: {
"creator": "@daryl:alexandria.example.com",
"m.federate": true,
"predecessor": {
event_id: "id_of_last_event",