diff --git a/store/sql_user_store.go b/store/sql_user_store.go index b1544289d8..d866f949af 100644 --- a/store/sql_user_store.go +++ b/store/sql_user_store.go @@ -159,7 +159,7 @@ func (us SqlUserStore) Update(user *model.User, allowActiveUpdate bool) StoreCha nonUsernameKeys = append(nonUsernameKeys, key) } } - user.NotifyProps["mention_keys"] = strings.Join(nonUsernameKeys, ",") + user.Username + ",@" + user.Username + user.NotifyProps["mention_keys"] = strings.Join(nonUsernameKeys, ",") + "," + user.Username + ",@" + user.Username } if count, err := us.GetMaster().Update(user); err != nil {