add RootId to out-of-channel-mentions ephemeral post for that to render at RHS (#7726)

This commit is contained in:
Saturnino Abril
2017-10-27 04:14:41 +08:00
committed by GitHub
parent 827fbfa87d
commit 1e2506b2df

View File

@@ -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,