Skip to content

core: fix member support chats staying marked unread after they're read#7064

Open
Narasimha-sc wants to merge 2 commits into
simplex-chat:masterfrom
Narasimha-sc:nd/fix-support-chat-unread-on-group-read
Open

core: fix member support chats staying marked unread after they're read#7064
Narasimha-sc wants to merge 2 commits into
simplex-chat:masterfrom
Narasimha-sc:nd/fix-support-chat-unread-on-group-read

Conversation

@Narasimha-sc

Copy link
Copy Markdown
Collaborator

Members in a group's support ("chat with admins") list stay marked unread even after their support chat is fully read. Marking a group read without a scope (updateGroupChatItemsRead) flips support-scope items to read but never decrements the per-member support_chat_items_* counters, leaving them permanently out of sync. Restrict the no-scope group read (and its timed-items query) to main-scope items, so support chats are only read and decremented via their own scope.

…thout scope

Reading a group without a scope marked support-scope items read without
decrementing the per-member support_chat_items_* counters, so members stayed
unread in the support list even after their chat was fully read. Restrict the
no-scope group read and its timed-items query to main-scope items.
@Narasimha-sc Narasimha-sc requested a review from epoberezkin as a code owner June 9, 2026 09:11
@Narasimha-sc Narasimha-sc changed the title core: don't mark member support chat items read when reading group without scope core: fix member support chats staying marked unread after they're read Jun 9, 2026
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.

1 participant