Merge pull request #42 from olmari/master
Change help message to 'sync' instead 'import contacts'
This commit is contained in:
commit
8c2cb26fd7
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.JID = strings.Replace(user.Conn.Info.Wid, whatsappExt.OldUserSuffix, whatsappExt.NewUserSuffix, 1)
|
||||||
user.Session = &session
|
user.Session = &session
|
||||||
user.Update()
|
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 {
|
if err != nil {
|
||||||
user.log.Warnln("Failed to send login confirmation to user:", err)
|
user.log.Warnln("Failed to send login confirmation to user:", err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user