From d634addafcde1c5c4d3b3b30f0d4cce1cbfca67e Mon Sep 17 00:00:00 2001 From: Sami Olmari Date: Tue, 5 Mar 2019 18:56:14 +0200 Subject: [PATCH] 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. --- user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user.go b/user.go index 40ac6b9..07fc5e7 100644 --- a/user.go +++ b/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) }