Remove duplicate post edit WS event and cache invalidation (#7576)

This commit is contained in:
Joram Wilander
2017-10-09 22:40:50 -04:00
committed by Christopher Speller
parent bff2b5e735
commit f799738613

View File

@@ -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
}