MM-18623 - invalid reply-count displayed (#12364)

* fixed thread creator, fixed default behaviour of fetching posts
* handle reply-count in getPostThread code path
Этот коммит содержится в:
Eli Yukelzon
2019-10-10 17:14:44 +03:00
коммит произвёл GitHub
родитель 1635eb6006
Коммит 34b4bbcb46
6 изменённых файлов: 37 добавлений и 23 удалений

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

@@ -466,7 +466,7 @@ func (api *PluginAPI) DeletePost(postId string) *model.AppError {
}
func (api *PluginAPI) GetPostThread(postId string) (*model.PostList, *model.AppError) {
return api.app.GetPostThread(postId)
return api.app.GetPostThread(postId, false)
}
func (api *PluginAPI) GetPost(postId string) (*model.Post, *model.AppError) {