summaryrefslogtreecommitdiffstats
path: root/model/post.go
diff options
context:
space:
mode:
authorDebanshu Kundu <debanshu.kundu@joshtechnologygroup.com>2017-01-12 21:17:29 +0530
committerHarrison Healey <harrisonmhealey@gmail.com>2017-01-12 10:47:29 -0500
commit739f32272ff4079b5638d6293a28ed8ffbbb926e (patch)
tree41003e0c12c7ca1bd517bac0d29dd6cd9a3d59bb /model/post.go
parent99493bc5fa11d8e50d46c19e2678ddb2c99c0bbb (diff)
downloadchat-739f32272ff4079b5638d6293a28ed8ffbbb926e.tar.gz
chat-739f32272ff4079b5638d6293a28ed8ffbbb926e.tar.bz2
chat-739f32272ff4079b5638d6293a28ed8ffbbb926e.zip
PLT-135 Showing "(Edited)" indicator if a message has been edited. (#4923)
Diffstat (limited to 'model/post.go')
-rw-r--r--model/post.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/model/post.go b/model/post.go
index 7097e031d..766324b4c 100644
--- a/model/post.go
+++ b/model/post.go
@@ -31,6 +31,7 @@ type Post struct {
Id string `json:"id"`
CreateAt int64 `json:"create_at"`
UpdateAt int64 `json:"update_at"`
+ EditAt int64 `json:"edit_at"`
DeleteAt int64 `json:"delete_at"`
UserId string `json:"user_id"`
ChannelId string `json:"channel_id"`