Skip to content

fix: preserve unread state for remote deletions#1968

Open
Ap4sh wants to merge 1 commit into
session-foundation:devfrom
Ap4sh:ap4sh/fix-preserve-unread-on-remote-delete
Open

fix: preserve unread state for remote deletions#1968
Ap4sh wants to merge 1 commit into
session-foundation:devfrom
Ap4sh:ap4sh/fix-preserve-unread-on-remote-delete

Conversation

@Ap4sh

@Ap4sh Ap4sh commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Contributor checklist:

Description

Fixes #1691

This keeps remotely deleted messages' existing unread state instead of marking them as read. That prevents the deletion from advancing the conversation's last-read timestamp and marking earlier unread messages as read

Messages deleted from the UI are still marked as read

Tested:

  • added regression coverage for remote and local deletions, persistence, and delete-after-read expiry
  • pnpm ready

@Ap4sh
Ap4sh marked this pull request as ready for review July 23, 2026 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] When a deleted message notification is received, all messages prior to it are marked as read

1 participant