Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- "app/post.go" 2018-02-20 18:15:10.219247729 -0600
- +++ app/post.go 2018-02-20 18:15:03.855248412 -0600
- @@ -397,6 +397,12 @@
- })
- }
- + for _, fileId := range post.FileIds {
- + if result := <-a.Srv.Store.FileInfo().AttachToPost(fileId, post.Id); result.Err != nil {
- + l4g.Error(utils.T("api.post.create_post.attach_files.error"), post.Id, post.FileIds, post.UserId, result.Err)
- + }
- + }
- +
- a.sendUpdatedPostEvent(rpost)
- a.InvalidateCacheForChannelPosts(rpost.ChannelId)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement