Change help 'import contacts' to 'sync'
After user succesfully sets up bridge, bot will tell what to do next. This info had still old command so I updated message to reflect new 'sync' directive.
This commit is contained in:
parent
e051067f81
commit
d634addafc
1 changed files with 1 additions and 1 deletions
2
user.go
2
user.go
|
@ -207,7 +207,7 @@ func (user *User) Login(roomID types.MatrixRoomID) {
|
|||
user.JID = strings.Replace(user.Conn.Info.Wid, whatsappExt.OldUserSuffix, whatsappExt.NewUserSuffix, 1)
|
||||
user.Session = &session
|
||||
user.Update()
|
||||
_, err = bot.SendNotice(roomID, "Successfully logged in. Now, you may ask for `import contacts`.")
|
||||
_, err = bot.SendNotice(roomID, "Successfully logged in. Now, you may ask for `sync [--create]`.")
|
||||
if err != nil {
|
||||
user.log.Warnln("Failed to send login confirmation to user:", err)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue