Skip to content

fix: resolve read/unread state persistence issue for mongo#49

Merged
Alam-2U merged 1 commit intorelease-ulmofrom
ealam/COSMO2-904
May 8, 2026
Merged

fix: resolve read/unread state persistence issue for mongo#49
Alam-2U merged 1 commit intorelease-ulmofrom
ealam/COSMO2-904

Conversation

@Alam-2U
Copy link
Copy Markdown
Collaborator

@Alam-2U Alam-2U commented May 8, 2026

Description

This PR fixes an issue where discussion forum threads marked as read were incorrectly showing as unread after a page reload or tab switch for Mongo-backed discussions.

Cause

Thread read state was being overwritten by requests that did not contain valid user context, causing already-read threads to appear unread.

Fix

Updated the Mongo discussion thread read-state handling to ignore requests without valid user context and preserve the correct read/unread status.

Ticket

COSMO2-904

Related PR

A similar PR was previously merged for MySQL, but additional changes were required for Mongo-backed discussions.

@Alam-2U Alam-2U merged commit b9ca7ae into release-ulmo May 8, 2026
13 checks passed
@Alam-2U Alam-2U deleted the ealam/COSMO2-904 branch May 8, 2026 08:19
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.

2 participants