Skip to content

fix: skip unread marking for user-cancelled sessions#534

Merged
limityan merged 1 commit intoGCWing:mainfrom
limityan:yanzhn/fix
Apr 26, 2026
Merged

fix: skip unread marking for user-cancelled sessions#534
limityan merged 1 commit intoGCWing:mainfrom
limityan:yanzhn/fix

Conversation

@limityan
Copy link
Copy Markdown
Collaborator

When a user manually aborts a session and then switches to another session before the DialogTurnCancelled event arrives, the aborted session was incorrectly marked as unread.

Track explicitly user-cancelled session IDs in FlowChatContext and skip the unread-completion mark in handleDialogTurnCancelled for those sessions.

Generated with BitFun

Co-Authored-By: BitFun

When a user manually aborts a session and then switches to another session before the DialogTurnCancelled event arrives, the aborted session was incorrectly marked as unread.

Track explicitly user-cancelled session IDs in FlowChatContext and skip the unread-completion mark in handleDialogTurnCancelled for those sessions.

Generated with BitFun

Co-Authored-By: BitFun
@limityan limityan merged commit e5c82d7 into GCWing:main Apr 26, 2026
4 checks passed
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