diff options
author | =Corey Hulen <corey@hulen.com> | 2015-12-14 11:43:56 -0800 |
---|---|---|
committer | =Corey Hulen <corey@hulen.com> | 2015-12-14 11:43:56 -0800 |
commit | 253d80c97e91f9a9225bcc7a587d7a1b74f6f7c9 (patch) | |
tree | 618eec76fa5cf41b7b6f6d28171237e3ba634083 | |
parent | f5ec973cba4c224de5ba75b56aad447f715b9d6b (diff) | |
download | chat-253d80c97e91f9a9225bcc7a587d7a1b74f6f7c9.tar.gz chat-253d80c97e91f9a9225bcc7a587d7a1b74f6f7c9.tar.bz2 chat-253d80c97e91f9a9225bcc7a587d7a1b74f6f7c9.zip |
PLT-1447 fixing sending name in push notifications
-rw-r--r-- | api/post.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api/post.go b/api/post.go index a102cdf4d..bd099c037 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{} |