From 1e2506b2dfda87e65aa2f75f1e507046145cd2b8 Mon Sep 17 00:00:00 2001 From: Saturnino Abril Date: Fri, 27 Oct 2017 04:14:41 +0800 Subject: add RootId to out-of-channel-mentions ephemeral post for that to render at RHS (#7726) --- app/notification.go | 1 + 1 file changed, 1 insertion(+) (limited to 'app/notification.go') diff --git a/app/notification.go b/app/notification.go index 84a2b610b..1f9bcfee0 100644 --- a/app/notification.go +++ b/app/notification.go @@ -775,6 +775,7 @@ func (a *App) sendOutOfChannelMentions(sender *model.User, post *model.Post, cha post.UserId, &model.Post{ Id: ephemeralPostId, + RootId: post.RootId, ChannelId: post.ChannelId, Message: message, CreateAt: post.CreateAt + 1, -- cgit v1.2.3-1-g7c22