Этот коммит содержится в:
Chris
2018-03-02 10:49:18 -06:00
коммит произвёл Joram Wilander
родитель 2b3b6051d2
Коммит 4ebf974690
12 изменённых файлов: 23 добавлений и 70 удалений

Просмотреть файл

@@ -136,10 +136,7 @@ func saveIsPinnedPost(c *Context, w http.ResponseWriter, r *http.Request, isPinn
message := model.NewWebSocketEvent(model.WEBSOCKET_EVENT_POST_EDITED, "", rpost.ChannelId, "", nil)
message.Add("post", c.App.PostWithProxyAddedToImageURLs(rpost).ToJson())
c.App.Go(func() {
c.App.Publish(message)
})
c.App.Publish(message)
c.App.InvalidateCacheForChannelPosts(rpost.ChannelId)