diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/notification.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) |