added mentioned username to default mention keys

Этот коммит содержится в:
JoramWilander
2015-06-30 09:11:06 -04:00
родитель f030476ff5
Коммит 8be4df00b4

Просмотреть файл

@@ -147,7 +147,7 @@ func (u *User) SetDefaultNotifications() {
u.NotifyProps["email"] = "true"
u.NotifyProps["desktop"] = USER_NOTIFY_ALL
u.NotifyProps["desktop_sound"] = "true"
u.NotifyProps["mention_keys"] = u.Username
u.NotifyProps["mention_keys"] = u.Username + ",@" + u.Username
u.NotifyProps["first_name"] = "false"
u.NotifyProps["all"] = "true"
u.NotifyProps["channel"] = "true"