Changed how posts are marked ephemeral

This commit is contained in:
hmhealey
2016-02-03 12:12:10 -05:00
parent 994358c31a
commit 70c3715b96
6 changed files with 17 additions and 15 deletions

View File

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