mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Changed how posts are marked ephemeral
This commit is contained in:
@@ -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{},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user