fix(desktop): refresh externally updated sessions - #40032
Closed
manualzuru wants to merge 1 commit into
Closed
Conversation
Collaborator
|
Strong overlap with #37766 — both add a Desktop read-repair/refresh loop to hydrate the open session when another client (Telegram/gateway) writes to the shared session DB, skipping while busy. Worth reconciling the two approaches. |
Poll the currently opened stored Desktop session and refresh it on focus so messages written by Telegram/gateway or other surfaces appear without a manual reload. Tests: - npm run test:ui -- src/app/session/hooks/use-stored-session-refresh.test.tsx src/app/session/hooks/use-route-resume.test.tsx - npm run type-check - npm run build
manualzuru
force-pushed
the
fix/desktop-external-session-refresh
branch
from
June 5, 2026 20:24
d9fee11 to
539a0d2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closed by author.
This PR was opened before the current public-contribution gate was in place. It needs to be re-audited and, if still valuable upstream, rebuilt as a clean generic contribution with no user-specific context, local incident details, private paths, logs, screenshots, or secret-like material.