Add GetPostsSince() to plugin API (#9649)
Этот коммит содержится в:
коммит произвёл
Joram Wilander
родитель
0267a1f76e
Коммит
c1e5fff565
@@ -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)
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user