Add GetPostThread() to plugin API (#9652)

Этот коммит содержится в:
Hanzei
2018-10-15 15:19:36 +02:00
коммит произвёл Saturnino Abril
родитель 5726d3919d
Коммит 0267a1f76e
4 изменённых файлов: 61 добавлений и 0 удалений

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

@@ -170,6 +170,9 @@ type API interface {
// DeletePost deletes a post.
DeletePost(postId string) *model.AppError
// GetPostThread gets a post with all the other posts in the same thread.
GetPostThread(postId string) (*model.PostList, *model.AppError)
// GetPost gets a post.
GetPost(postId string) (*model.Post, *model.AppError)