Skip to content

fix(comments): Use provided offset in best effort when loading comments - #40488

Merged
nickvergessen merged 1 commit into
masterfrom
bugfix/noid/message-expiration-breaks-pagination
Sep 19, 2023
Merged

fix(comments): Use provided offset in best effort when loading comments#40488
nickvergessen merged 1 commit into
masterfrom
bugfix/noid/message-expiration-breaks-pagination

Conversation

@nickvergessen

@nickvergessennickvergessen commented Sep 18, 2023

Copy link
Copy Markdown
Member

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.

Checklist

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>
@nickvergessen

Copy link
Copy Markdown
MemberAuthor

/backport to stable27

@nickvergessen

Copy link
Copy Markdown
MemberAuthor

/backport to stable26

@nickvergessen

Copy link
Copy Markdown
MemberAuthor

/backport to stable25

@IvansssIvansss left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and works 👍

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@nickvergessen@marcelklehr@Ivansss