diff options
Diffstat (limited to 'app/plugin_api.go')
-rw-r--r-- | app/plugin_api.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/plugin_api.go b/app/plugin_api.go index 70b3d60fe..53f3516fc 100644 --- a/app/plugin_api.go +++ b/app/plugin_api.go @@ -303,6 +303,10 @@ func (api *PluginAPI) DeletePost(postId string) *model.AppError { return err } +func (api *PluginAPI) GetPostThread(postId string) (*model.PostList, *model.AppError) { + return api.app.GetPostThread(postId) +} + func (api *PluginAPI) GetPost(postId string) (*model.Post, *model.AppError) { return api.app.GetSinglePost(postId) } |