summaryrefslogtreecommitdiffstats
path: root/app/notification.go
diff options
context:
space:
mode:
authorenahum <nahumhbl@gmail.com>2017-03-04 14:54:46 -0300
committerGeorge Goldberg <george@gberg.me>2017-03-04 17:54:46 +0000
commit4fd6b909afdf2cba39115fa8bff97ebc12f82310 (patch)
tree7ce1fdf0a15c08aa0715dc744b1d6b6de34ed159 /app/notification.go
parent9d0476250fe907b036c613b9d9d925b9b287d3f5 (diff)
downloadchat-4fd6b909afdf2cba39115fa8bff97ebc12f82310.tar.gz
chat-4fd6b909afdf2cba39115fa8bff97ebc12f82310.tar.bz2
chat-4fd6b909afdf2cba39115fa8bff97ebc12f82310.zip
PLT-4969 remove Push notifications @ preceeding the username or the user's name (#5629)
Diffstat (limited to 'app/notification.go')
-rw-r--r--app/notification.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/notification.go b/app/notification.go
index 4869560da..0afe25882 100644
--- a/app/notification.go
+++ b/app/notification.go
@@ -505,7 +505,7 @@ func sendPushNotification(post *model.Post, user *model.User, channel *model.Cha
if *utils.Cfg.EmailSettings.PushNotificationContents == model.FULL_NOTIFICATION {
if channel.Type == model.CHANNEL_DIRECT {
msg.Category = model.CATEGORY_DM
- msg.Message = "@" + senderName + ": " + model.ClearMentionTags(post.Message)
+ msg.Message = senderName + ": " + model.ClearMentionTags(post.Message)
} else {
msg.Message = senderName + userLocale("api.post.send_notifications_and_forget.push_in") + channelName + ": " + model.ClearMentionTags(post.Message)
}