mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Force fresh timestamp for CreateAt field of Posts before saving to DB.
This commit is contained in:
@@ -120,9 +120,7 @@ func (o *Post) PreSave() {
|
||||
|
||||
o.OriginalId = ""
|
||||
|
||||
if o.CreateAt <= 0 {
|
||||
o.CreateAt = GetMillis()
|
||||
}
|
||||
o.CreateAt = GetMillis()
|
||||
o.UpdateAt = o.CreateAt
|
||||
|
||||
if o.Props == nil {
|
||||
|
||||
Reference in New Issue
Block a user