forked from MirrorHub/mautrix-whatsapp
Clarify that the login command doesn't require the phone number
This commit is contained in:
parent
c704191e2c
commit
1ccd16626a
3 changed files with 8 additions and 6 deletions
|
@ -430,9 +430,11 @@ var cmdLogin = &commands.FullHandler{
|
|||
Func: wrapCommand(fnLogin),
|
||||
Name: "login",
|
||||
Help: commands.HelpMeta{
|
||||
Section: commands.HelpSectionAuth,
|
||||
Description: "Link the bridge to your WhatsApp account as a web client.",
|
||||
Args: "[_phone number_]",
|
||||
Section: commands.HelpSectionAuth,
|
||||
Description: "Link the bridge to your WhatsApp account as a web client. " +
|
||||
"The phone number parameter is optional: if provided, the bridge will create a 8-character login code " +
|
||||
"that can be used instead of the QR code.",
|
||||
Args: "[_phone number_]",
|
||||
},
|
||||
}
|
||||
|
||||
|
|
2
go.mod
2
go.mod
|
@ -19,7 +19,7 @@ require (
|
|||
golang.org/x/net v0.14.0
|
||||
google.golang.org/protobuf v1.31.0
|
||||
maunium.net/go/maulogger/v2 v2.4.1
|
||||
maunium.net/go/mautrix v0.16.1-0.20230821105106-ac5c2c22102c
|
||||
maunium.net/go/mautrix v0.16.1-0.20230904092006-3fffe3f31ce1
|
||||
)
|
||||
|
||||
require (
|
||||
|
|
4
go.sum
4
go.sum
|
@ -133,5 +133,5 @@ maunium.net/go/mauflag v1.0.0 h1:YiaRc0tEI3toYtJMRIfjP+jklH45uDHtT80nUamyD4M=
|
|||
maunium.net/go/mauflag v1.0.0/go.mod h1:nLivPOpTpHnpzEh8jEdSL9UqO9+/KBJFmNRlwKfkPeA=
|
||||
maunium.net/go/maulogger/v2 v2.4.1 h1:N7zSdd0mZkB2m2JtFUsiGTQQAdP0YeFWT7YMc80yAL8=
|
||||
maunium.net/go/maulogger/v2 v2.4.1/go.mod h1:omPuYwYBILeVQobz8uO3XC8DIRuEb5rXYlQSuqrbCho=
|
||||
maunium.net/go/mautrix v0.16.1-0.20230821105106-ac5c2c22102c h1:oRIaFbS4ds9biwJVguT+9Zu7n5zDbKQeuGklXHQxvCU=
|
||||
maunium.net/go/mautrix v0.16.1-0.20230821105106-ac5c2c22102c/go.mod h1:XAjE9pTSGcr6vXaiNgQGiip7tddJ8FQV1a29u2QdBG4=
|
||||
maunium.net/go/mautrix v0.16.1-0.20230904092006-3fffe3f31ce1 h1:o4SOY1Aim54E7DDCPh+Iyq+gBjnvOwKKBvziXftki9o=
|
||||
maunium.net/go/mautrix v0.16.1-0.20230904092006-3fffe3f31ce1/go.mod h1:XAjE9pTSGcr6vXaiNgQGiip7tddJ8FQV1a29u2QdBG4=
|
||||
|
|
Loading…
Reference in a new issue