Add GetPostThread() to plugin API (#9652)
Этот коммит содержится в:
коммит произвёл
Saturnino Abril
родитель
5726d3919d
Коммит
0267a1f76e
@@ -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)
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user