Changed how posts are marked ephemeral

Этот коммит содержится в:
hmhealey
2016-02-03 12:12:10 -05:00
родитель 994358c31a
Коммит 70c3715b96
6 изменённых файлов: 17 добавлений и 15 удалений

Просмотреть файл

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