summaryrefslogtreecommitdiffstats
path: root/model
diff options
context:
space:
mode:
authorJoramWilander <jwawilander@gmail.com>2015-06-30 09:11:06 -0400
committerJoramWilander <jwawilander@gmail.com>2015-06-30 09:11:06 -0400
commit8be4df00b4d30c220d6f0d13734501c8c94e6495 (patch)
tree221fa600adc3f443e602378f74e87d6c82c35232 /model
parentf030476ff5f438b96d7282c37ad7a42ffc61ae85 (diff)
downloadchat-8be4df00b4d30c220d6f0d13734501c8c94e6495.tar.gz
chat-8be4df00b4d30c220d6f0d13734501c8c94e6495.tar.bz2
chat-8be4df00b4d30c220d6f0d13734501c8c94e6495.zip
added mentioned username to default mention keys
Diffstat (limited to 'model')
-rw-r--r--model/user.go2
1 files changed, 1 insertions, 1 deletions
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"