From f799738613819bd561a65e882c1bc3bb05890850 Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Mon, 9 Oct 2017 22:40:50 -0400 Subject: Remove duplicate post edit WS event and cache invalidation (#7576) --- app/post.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'app/post.go') diff --git a/app/post.go b/app/post.go index bcba922a6..94f4acbe7 100644 --- a/app/post.go +++ b/app/post.go @@ -357,9 +357,6 @@ func (a *App) PatchPost(postId string, patch *model.PostPatch) (*model.Post, *mo return nil, err } - a.sendUpdatedPostEvent(updatedPost) - a.InvalidateCacheForChannelPosts(updatedPost.ChannelId) - return updatedPost, nil } -- cgit v1.2.3-1-g7c22