Bug 510284

Summary: Detect when the user's token is no longer valid and offer options
Product: [Applications] NeoChat Reporter: Justin Zobel <justin>
Component: GeneralAssignee: Tobias Fella <fella>
Status: CONFIRMED ---    
Severity: wishlist CC: carl, josh
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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.