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 3e03f8597..244f0bd7a 100644 --- a/app/plugin_api.go +++ b/app/plugin_api.go @@ -339,6 +339,10 @@ func (api *PluginAPI) GetPostsSince(channelId string, time int64) (*model.PostLi return api.app.GetPostsSince(channelId, time) } +func (api *PluginAPI) GetPostsAfter(channelId, postId string, page, perPage int) (*model.PostList, *model.AppError) { + return api.app.GetPostsAfterPost(channelId, postId, page, perPage) +} + func (api *PluginAPI) GetPostsBefore(channelId, postId string, page, perPage int) (*model.PostList, *model.AppError) { return api.app.GetPostsBeforePost(channelId, postId, page, perPage) } |