1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-07-30 04:23:07 +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

@ -57,9 +57,7 @@ describe("MatrixClient opts", function () {
type: "m.room.create",
room: roomId,
user: userId,
content: {
creator: userId,
},
content: {},
}),
],
},