Fix wrong usage of `ensureRoomJoined()`
This commit is contained in:
parent
53019dc378
commit
f466b9abb5
|
@ -1004,10 +1004,7 @@ describe('matrix-public-archive', () => {
|
||||||
// the archive user here and want the same join `reason` to avoid a new
|
// the archive user here and want the same join `reason` to avoid a new
|
||||||
// state event being created (`joinRoom` -> `{ displayname, membership }`
|
// state event being created (`joinRoom` -> `{ displayname, membership }`
|
||||||
// whereas `ensureRoomJoined` -> `{ reason, displayname, membership }`)
|
// whereas `ensureRoomJoined` -> `{ reason, displayname, membership }`)
|
||||||
await ensureRoomJoined({
|
await ensureRoomJoined(archiveAppServiceUserClient.accessToken, roomId);
|
||||||
accessToken: archiveAppServiceUserClient.accessToken,
|
|
||||||
roomIdOrAlias: roomId,
|
|
||||||
});
|
|
||||||
|
|
||||||
// Just spread things out a bit so the event times are more obvious
|
// Just spread things out a bit so the event times are more obvious
|
||||||
// and stand out from each other while debugging and so we just have
|
// and stand out from each other while debugging and so we just have
|
||||||
|
|
Loading…
Reference in New Issue