Compatibility: send {} with room joins
Now compatible with the spec and with condu(wu)it.
This commit is contained in:
@@ -60,7 +60,7 @@ async function createRoom(content) {
|
||||
*/
|
||||
async function joinRoom(roomIDOrAlias, mxid) {
|
||||
/** @type {Ty.R.RoomJoined} */
|
||||
const root = await mreq.mreq("POST", path(`/client/v3/join/${roomIDOrAlias}`, mxid))
|
||||
const root = await mreq.mreq("POST", path(`/client/v3/join/${roomIDOrAlias}`, mxid), {})
|
||||
return root.room_id
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user