Remove duplicate post edit WS event and cache invalidation (#7576)
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
bff2b5e735
Коммит
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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user