From 0267a1f76e48ae833a4f951c82e69db59d39b314 Mon Sep 17 00:00:00 2001 From: Hanzei <16541325+hanzei@users.noreply.github.com> Date: Mon, 15 Oct 2018 15:19:36 +0200 Subject: Add GetPostThread() to plugin API (#9652) --- plugin/api.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugin/api.go') diff --git a/plugin/api.go b/plugin/api.go index 5a5727659..36012c23e 100644 --- a/plugin/api.go +++ b/plugin/api.go @@ -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) -- cgit v1.2.3-1-g7c22