Skip to content

Fix queued messages disappearing when switching between chats#3897

Merged
louis030195 merged 1 commit into
screenpipe:mainfrom
thisisharsh7:fix-chat-queue-switching
Jun 8, 2026
Merged

Fix queued messages disappearing when switching between chats#3897
louis030195 merged 1 commit into
screenpipe:mainfrom
thisisharsh7:fix-chat-queue-switching

Conversation

@thisisharsh7

@thisisharsh7 thisisharsh7 commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

This PR fixes a chat bug where queued messages could seem to disappear when switching between chats.

Before:

  • If Chat A had queued follow-up messages and you switched to Chat B, Chat A could finish in the background but only the assistant replies would show later.
  • The user messages for those queued follow-ups could be missing.
  • If you switched back to Chat A very quickly while it was still running, queued items could appear to get cleared from the UI.
Screen.Recording.2026-06-08.at.12.05.01.AM.mov

Changes:

  • Background chat processing now saves queued user messages properly, not just assistant replies.
  • Chat switching no longer drops in-between events during the handoff back to an active chat.
  • The queue UI no longer clears itself just because a temporary refresh fails.

After :

Screen.Recording.2026-06-07.at.11.55.09.PM.mov

@thisisharsh7 thisisharsh7 marked this pull request as ready for review June 8, 2026 08:56
@louis030195 louis030195 merged commit 24b6414 into screenpipe:main Jun 8, 2026
8 of 9 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.

2 participants