PLT-135 Showing "(Edited)" indicator if a message has been edited. (#4923)
Этот коммит содержится в:
коммит произвёл
Harrison Healey
родитель
99493bc5fa
Коммит
739f32272f
@@ -1217,6 +1217,7 @@ func updatePost(c *Context, w http.ResponseWriter, r *http.Request) {
|
||||
*newPost = *oldPost
|
||||
|
||||
newPost.Message = post.Message
|
||||
newPost.EditAt = model.GetMillis()
|
||||
newPost.Hashtags, _ = model.ParseHashtags(post.Message)
|
||||
|
||||
if result := <-Srv.Store.Post().Update(newPost, oldPost); result.Err != nil {
|
||||
|
||||
Ссылка в новой задаче
Block a user