forked from MirrorHub/mautrix-whatsapp
Don't close login websocket on multidevice disabled error
This commit is contained in:
parent
70214bdc42
commit
b9d918a1d1
1 changed files with 1 additions and 0 deletions
|
@ -326,6 +326,7 @@ func (prov *ProvisioningAPI) Login(w http.ResponseWriter, r *http.Request) {
|
||||||
Error: "Please enable the WhatsApp multidevice beta and scan the QR code again.",
|
Error: "Please enable the WhatsApp multidevice beta and scan the QR code again.",
|
||||||
ErrCode: "multidevice not enabled",
|
ErrCode: "multidevice not enabled",
|
||||||
})
|
})
|
||||||
|
continue
|
||||||
default:
|
default:
|
||||||
_ = c.WriteJSON(map[string]interface{}{
|
_ = c.WriteJSON(map[string]interface{}{
|
||||||
"code": string(evt),
|
"code": string(evt),
|
||||||
|
|
Loading…
Reference in a new issue