diff options
Diffstat (limited to 'vendor/github.com/mattermost/mattermost-server')
-rw-r--r-- | vendor/github.com/mattermost/mattermost-server/v5/model/thread.go | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/vendor/github.com/mattermost/mattermost-server/v5/model/thread.go b/vendor/github.com/mattermost/mattermost-server/v5/model/thread.go index 969a599e..71bf74f4 100644 --- a/vendor/github.com/mattermost/mattermost-server/v5/model/thread.go +++ b/vendor/github.com/mattermost/mattermost-server/v5/model/thread.go @@ -25,11 +25,12 @@ func (o *Thread) Etag() string { } type ThreadMembership struct { - PostId string `json:"post_id"` - UserId string `json:"user_id"` - Following bool `json:"following"` - LastViewed int64 `json:"last_view_at"` - LastUpdated int64 `json:"last_update_at"` + PostId string `json:"post_id"` + UserId string `json:"user_id"` + Following bool `json:"following"` + LastViewed int64 `json:"last_view_at"` + LastUpdated int64 `json:"last_update_at"` + UnreadMentions int64 `json:"unread_mentions"` } func (o *ThreadMembership) ToJson() string { |