浏览代码

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.
Sami Olmari 6 年之前
父节点
当前提交
d634addafc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      user.go

+ 1 - 1
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)
 	}