Add GetPostsAfter() to plugin API (#9650)
Этот коммит содержится в:
коммит произвёл
Carlos Tadeu Panato Junior
родитель
0d87486e99
Коммит
d346027691
@@ -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)
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user