Bug 510284 - Detect when the user's token is no longer valid and offer options
Summary: Detect when the user's token is no longer valid and offer options
Status: RESOLVED DUPLICATE of bug 504298
Alias: None
Product: NeoChat
Classification: Applications
Component: General (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Tobias Fella
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-06 03:28 UTC by Justin Zobel
Modified: 2026-01-17 18:48 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Zobel 2025-10-06 03:28:01 UTC
It would be great if NeoChat could notify the user if their token is now invalid.

These are all shown in the stdout/err:
- quotient.jobs.sync: "SyncJob-1" status Unauthorised: Invalid access token passed.
- quotient.jobs.sync: Sync job failed with Unauthorised - login expired?
- quotient.jobs.sync: 401 <- GET https://server.hostname/_matrix/client/r0/sync

Surely we can detect one of these and notify the user.

NeoChat could offer to remove the account.
Comment 1 Joshua Goins 2026-01-17 18:48:07 UTC

*** This bug has been marked as a duplicate of bug 504298 ***