From 8be4df00b4d30c220d6f0d13734501c8c94e6495 Mon Sep 17 00:00:00 2001 From: JoramWilander Date: Tue, 30 Jun 2015 09:11:06 -0400 Subject: added mentioned username to default mention keys --- model/user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'model/user.go') diff --git a/model/user.go b/model/user.go index ca62f3d72..18fbb0d2a 100644 --- a/model/user.go +++ b/model/user.go @@ -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" -- cgit v1.2.3-1-g7c22