summaryrefslogtreecommitdiffstats
path: root/api/post.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/post.go')
-rw-r--r--api/post.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/api/post.go b/api/post.go
index 0f0a83639..e7c3f6913 100644
--- a/api/post.go
+++ b/api/post.go
@@ -764,9 +764,8 @@ func checkForOutOfChannelMentions(c *Context, post *model.Post, channel *model.C
Id: model.NewId(),
ChannelId: post.ChannelId,
Message: messageText,
- Type: model.POST_OUT_OF_CHANNEL_MENTION,
+ Type: model.POST_EPHEMERAL,
CreateAt: post.CreateAt + 1,
- Ephemeral: true,
Props: model.StringInterface{},
Filenames: []string{},
}