diff options
Diffstat (limited to 'mxlib/client.go')
-rw-r--r-- | mxlib/client.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mxlib/client.go b/mxlib/client.go index c111360..689d3a0 100644 --- a/mxlib/client.go +++ b/mxlib/client.go @@ -144,6 +144,9 @@ func (mx *Client) PasswordLogin(username string, password string, device_id stri func (mx *Client) RegisterUser(username string) error { req := RegisterRequest{ + Auth: RegisterRequestAuth{ + Type: "m.login.application_service", + }, Username: username, } var rep RegisterResponse |