summaryrefslogtreecommitdiffstats
path: root/app/notification.go
diff options
context:
space:
mode:
authorSaturnino Abril <saturnino.abril@gmail.com>2017-10-27 04:14:41 +0800
committerGitHub <noreply@github.com>2017-10-27 04:14:41 +0800
commit1e2506b2dfda87e65aa2f75f1e507046145cd2b8 (patch)
tree49ef7d1bf700ce23b63f38bfb3cdd3eedc7dadf5 /app/notification.go
parent827fbfa87dcc1996a93f640e7599592036827fd4 (diff)
downloadchat-1e2506b2dfda87e65aa2f75f1e507046145cd2b8.tar.gz
chat-1e2506b2dfda87e65aa2f75f1e507046145cd2b8.tar.bz2
chat-1e2506b2dfda87e65aa2f75f1e507046145cd2b8.zip
add RootId to out-of-channel-mentions ephemeral post for that to render at RHS (#7726)
Diffstat (limited to 'app/notification.go')
-rw-r--r--app/notification.go1
1 files changed, 1 insertions, 0 deletions
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,