]> source.dussan.org Git - nextcloud-server.git/commit
fix(comments): Use provided offset in best effort when loading comments 40507/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 14:06:12 +0000 (14:06 +0000)
commite772fe68a4f60411b018cc44317c4a5aefc863db
tree2701945759c0bfa570e9666670cb7ff961a75efe
parent702883521f19f12262fff05a048aaf721d596824
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