diff options
author | hmhealey <harrisonmhealey@gmail.com> | 2016-02-03 12:12:10 -0500 |
---|---|---|
committer | hmhealey <harrisonmhealey@gmail.com> | 2016-02-04 11:38:58 -0500 |
commit | 70c3715b963cd8f2a710f8909f23696f9de7fcc7 (patch) | |
tree | 55077777c2bbb4e5d0f6f41d9e2d12e3668d02c4 /api | |
parent | 994358c31a93296a225f7d34942bbedfeac025c4 (diff) | |
download | chat-70c3715b963cd8f2a710f8909f23696f9de7fcc7.tar.gz chat-70c3715b963cd8f2a710f8909f23696f9de7fcc7.tar.bz2 chat-70c3715b963cd8f2a710f8909f23696f9de7fcc7.zip |
Changed how posts are marked ephemeral
Diffstat (limited to 'api')
-rw-r--r-- | api/post.go | 3 |
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{}, } |