import { atom } from 'jotai'; /** * [Gitea #112] True while the client can't reach the homeserver (sync is * reconnecting / erroring, or the browser reports offline). Messages that * failed for network reasons show "Queued" instead of "Failed to send" while * this is set; the outbox sends them again once it clears. */ export const sendOfflineAtom = atom(false);