mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Remove duplicate post edit WS event and cache invalidation (#7576)
This commit is contained in:
committed by
Christopher Speller
parent
bff2b5e735
commit
f799738613
@@ -357,9 +357,6 @@ func (a *App) PatchPost(postId string, patch *model.PostPatch) (*model.Post, *mo
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
a.sendUpdatedPostEvent(updatedPost)
|
|
||||||
a.InvalidateCacheForChannelPosts(updatedPost.ChannelId)
|
|
||||||
|
|
||||||
return updatedPost, nil
|
return updatedPost, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user