diff options
author | Joas Schilling <coding@schilljs.com> | 2020-10-21 09:08:48 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-10-21 09:08:48 +0200 |
commit | 2cc35cc65d251ac52e1e09fe52381ccbf64eb89f (patch) | |
tree | e4d29dd08d96a66902e297483d2ca67d5e508202 /lib/public/Comments | |
parent | 2c21adb5a65787b378172adc0257f6d11bbf1428 (diff) | |
download | nextcloud-server-2cc35cc65d251ac52e1e09fe52381ccbf64eb89f.tar.gz nextcloud-server-2cc35cc65d251ac52e1e09fe52381ccbf64eb89f.zip |
Include an option to also include the lastKnownCommentId object
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/public/Comments')
-rw-r--r-- | lib/public/Comments/ICommentsManager.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/public/Comments/ICommentsManager.php b/lib/public/Comments/ICommentsManager.php index 95f0d2ce300..718391f7145 100644 --- a/lib/public/Comments/ICommentsManager.php +++ b/lib/public/Comments/ICommentsManager.php @@ -128,6 +128,7 @@ interface ICommentsManager { * @param string $sortDirection direction of the comments (`asc` or `desc`) * @param int $limit optional, number of maximum comments to be returned. if * set to 0, all comments are returned. + * @param bool $includeLastKnown * @return IComment[] * @since 14.0.0 */ @@ -136,7 +137,8 @@ interface ICommentsManager { string $objectId, int $lastKnownCommentId, string $sortDirection = 'asc', - int $limit = 30 + int $limit = 30, + bool $includeLastKnown = false ): array; /** |