MAS compatibility
This commit is contained in:
@@ -44,6 +44,7 @@ async function register(username) {
|
|||||||
try {
|
try {
|
||||||
await mreq.mreq("POST", "/client/v3/register", {
|
await mreq.mreq("POST", "/client/v3/register", {
|
||||||
type: "m.login.application_service",
|
type: "m.login.application_service",
|
||||||
|
inhibit_login: true, // https://github.com/element-hq/matrix-bot-sdk/pull/70/changes https://github.com/matrix-org/matrix-spec-proposals/blob/quenting/as-device-management/proposals/4190-as-device-management.md
|
||||||
username
|
username
|
||||||
})
|
})
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user