]> source.dussan.org Git - nextcloud-server.git/commit
fix(comments): Use provided offset in best effort when loading comments 40506/head
authorJoas Schilling <coding@schilljs.com>
Mon, 18 Sep 2023 18:09:32 +0000 (20:09 +0200)
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>
Tue, 19 Sep 2023 13:47:51 +0000 (13:47 +0000)
commit9cf4e38c4b588bbf88f38d7899b11de3637330ed
tree85a49b21c70d4a9d3567f4a0b67b1aa55a20666a
parent13c5dde0763131c2ba57f07c840e25083be5aee8
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