From a6397b5ed9c4d6a1afe018ad766555c18c3a6983 Mon Sep 17 00:00:00 2001 From: Corey Hulen Date: Thu, 27 Apr 2017 04:51:19 -0700 Subject: PLT-6108 fixing to use senderId for push (#6245) --- app/notification.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/notification.go') diff --git a/app/notification.go b/app/notification.go index 62e5e6c82..c14701b5f 100644 --- a/app/notification.go +++ b/app/notification.go @@ -494,7 +494,7 @@ func sendPushNotification(post *model.Post, user *model.User, channel *model.Cha msg.TeamId = channel.TeamId msg.ChannelId = channel.Id msg.ChannelName = channel.Name - msg.UserId = user.Id + msg.SenderId = post.UserId if ou, ok := post.Props["override_username"]; ok && ou != nil { msg.OverrideUsername = ou.(string) -- cgit v1.2.3-1-g7c22