diff options
Diffstat (limited to 'app')
-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 53f3516fc..85d62b317 100644 --- a/app/plugin_api.go +++ b/app/plugin_api.go @@ -311,6 +311,10 @@ func (api *PluginAPI) GetPost(postId string) (*model.Post, *model.AppError) { return api.app.GetSinglePost(postId) } +func (api *PluginAPI) GetPostsSince(channelId string, time int64) (*model.PostList, *model.AppError) { + return api.app.GetPostsSince(channelId, time) +} + func (api *PluginAPI) GetPostsForChannel(channelId string, page, perPage int) (*model.PostList, *model.AppError) { return api.app.GetPostsPage(channelId, page, perPage) } |