From 253d80c97e91f9a9225bcc7a587d7a1b74f6f7c9 Mon Sep 17 00:00:00 2001 From: =Corey Hulen Date: Mon, 14 Dec 2015 11:43:56 -0800 Subject: [PATCH] PLT-1447 fixing sending name in push notifications --- api/post.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/post.go b/api/post.go index a102cdf4dc..bd099c0376 100644 --- a/api/post.go +++ b/api/post.go @@ -642,9 +642,9 @@ func sendNotificationsAndForget(c *Context, post *model.Post, team *model.Team, msg.ServerId = utils.CfgDiagnosticId if channel.Type == model.CHANNEL_DIRECT { - msg.Message = channelName + " sent you a direct message" + msg.Message = senderName + " sent you a direct message" } else { - msg.Message = profileMap[id].FirstName + " mentioned you in " + channelName + msg.Message = senderName + " mentioned you in " + channelName } httpClient := http.Client{}