]> source.dussan.org Git - nextcloud-server.git/commit
fix(comments): Use provided offset in best effort when loading comments 40488/head
authorJoas Schilling <coding@schilljs.com>
Mon, 18 Sep 2023 18:09:32 +0000 (20:09 +0200)
committerJoas Schilling <coding@schilljs.com>
Mon, 18 Sep 2023 18:09:32 +0000 (20:09 +0200)
commit4d2217073acf6ed844bd006c102e403e7978e813
tree8560af41b9572e52903f5466bfebf633447e7885
parentcf7344082d5cbbf6aa4afcaf46c08a30685e68ce
fix(comments): Use provided offset in best effort when loading comments

When we didn't find the "$lastKnownComment" the whole condition was ignored.
Now we still use the ID as an offset.
This is required as a fall-back for expired messages in Talk
and deleted comments in other apps.

Signed-off-by: Joas Schilling <coding@schilljs.com>
lib/private/Comments/Manager.php