You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
attemptReconnect in src/daemon/daemon-accounts.ts creates a new client, but:
it never calls setupEventHandlers or client.startUpdatesLoop(), so new messages stop arriving;
it doesn't close the old client, so two clients use the same session file;
the sync worker keeps the old client (src/daemon/daemon-scheduler.ts), so jobs run on a dead connection.
The daemon looks healthy in tg status, but after one failed health check it quietly stops caching new messages.
Fix: on reconnect, remove the handlers from the old client and close it, register the handlers on the new client, start its updates loop, and rebuild the account's sync worker.
Done when a test that forces a reconnect shows a live message being cached afterwards.
Activity
fix(daemon): restore real-time updates and sync after a reconnect
docs(roadmap): add the feature gaps and group the list
docs(roadmap): add the feature gaps and group the list