From 4fd6b909afdf2cba39115fa8bff97ebc12f82310 Mon Sep 17 00:00:00 2001 From: enahum Date: Sat, 4 Mar 2017 14:54:46 -0300 Subject: PLT-4969 remove Push notifications @ preceeding the username or the user's name (#5629) --- app/notification.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') 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) } -- cgit v1.2.3-1-g7c22