From fe38d6d5bb36e18ddefbe490cc21f48f4f4c8d81 Mon Sep 17 00:00:00 2001 From: Gabin Aureche Date: Mon, 13 Mar 2017 13:25:08 +0100 Subject: Add pinned posts (#4217) --- model/post.go | 1 + 1 file changed, 1 insertion(+) (limited to 'model/post.go') diff --git a/model/post.go b/model/post.go index a7729e0c4..c419deb56 100644 --- a/model/post.go +++ b/model/post.go @@ -38,6 +38,7 @@ type Post struct { UpdateAt int64 `json:"update_at"` EditAt int64 `json:"edit_at"` DeleteAt int64 `json:"delete_at"` + IsPinned bool `json:"is_pinned"` UserId string `json:"user_id"` ChannelId string `json:"channel_id"` RootId string `json:"root_id"` -- cgit v1.2.3-1-g7c22