summaryrefslogtreecommitdiffstats
path: root/model/channel.go
diff options
context:
space:
mode:
Diffstat (limited to 'model/channel.go')
-rw-r--r--model/channel.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/model/channel.go b/model/channel.go
index df68202d6..749b8dc94 100644
--- a/model/channel.go
+++ b/model/channel.go
@@ -44,7 +44,6 @@ type Channel struct {
Purpose string `json:"purpose"`
LastPostAt int64 `json:"last_post_at"`
TotalMsgCount int64 `json:"total_msg_count"`
- ExtraUpdateAt int64 `json:"extra_update_at"`
CreatorId string `json:"creator_id"`
}
@@ -133,17 +132,12 @@ func (o *Channel) PreSave() {
o.CreateAt = GetMillis()
o.UpdateAt = o.CreateAt
- o.ExtraUpdateAt = o.CreateAt
}
func (o *Channel) PreUpdate() {
o.UpdateAt = GetMillis()
}
-func (o *Channel) ExtraUpdated() {
- o.ExtraUpdateAt = GetMillis()
-}
-
func (o *Channel) IsGroupOrDirect() bool {
return o.Type == CHANNEL_DIRECT || o.Type == CHANNEL_GROUP
}