Skip to content

fix(chat): prevent delta sync from regressing lastActivity#989

Merged
bmc08gt merged 3 commits into
code/cashfrom
fix/chat-feed-sort-regression
Jun 25, 2026
Merged

fix(chat): prevent delta sync from regressing lastActivity#989
bmc08gt merged 3 commits into
code/cashfrom
fix/chat-feed-sort-regression

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

A partial-page delta sync (e.g. when latestEventSequence is 0 and the
server returns only the first 100 of 125 messages) would overwrite
lastActivity with the timestamp of the oldest page's latest message,
causing the chat to drop in feed sort order.

Now the delta sync only advances lastActivity, never regresses it.

bmc08gt added 3 commits June 25, 2026 15:54
A partial-page delta sync (e.g. when latestEventSequence is 0 and the
server returns only the first 100 of 125 messages) would overwrite
lastActivity with the timestamp of the oldest page's latest message,
causing the chat to drop in feed sort order.

Now the delta sync only advances lastActivity, never regresses it.
@bmc08gt bmc08gt self-assigned this Jun 25, 2026
@github-actions github-actions Bot added area: onramp Deposit, purchase, Coinbase, fiat on-ramp type: fix Bug fix labels Jun 25, 2026
@bmc08gt bmc08gt merged commit 1850058 into code/cash Jun 25, 2026
2 of 3 checks passed
@bmc08gt bmc08gt deleted the fix/chat-feed-sort-regression branch June 25, 2026 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: onramp Deposit, purchase, Coinbase, fiat on-ramp type: fix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant