Skip to content

Commit

Permalink
PLT-4969 remove Push notifications @ preceeding the username or the u…
Browse files Browse the repository at this point in the history
…ser's name
  • Loading branch information
enahum committed Mar 3, 2017
1 parent f37c03a commit 6f36919
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/notification.go
Expand Up @@ -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)
}
Expand Down

0 comments on commit 6f36919

Please sign in to comment.