mirror of
https://github.com/tulir/mautrix-whatsapp
synced 2024-11-12 04:52:40 +01:00
Make force logout the default
This commit is contained in:
parent
b24672d6b4
commit
b4d7617967
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ func (prov *ProvisioningAPI) Logout(w http.ResponseWriter, r *http.Request) {
|
|||
return
|
||||
}
|
||||
|
||||
force := strings.ToLower(r.URL.Query().Get("force")) == "true"
|
||||
force := strings.ToLower(r.URL.Query().Get("force")) != "false"
|
||||
|
||||
if user.Conn == nil {
|
||||
if !force {
|
||||
|
|
Loading…
Reference in a new issue