Tell the accounts apart, and let a disabled source come back

This commit is contained in:
Arkadiusz Fal
2026-09-07 18:53:21 +02:00
parent 5ac6b7188d
commit 02efc71e7c
15 changed files with 533 additions and 317 deletions

View File

@@ -583,6 +583,9 @@ actor ContentService: ContentServiceProtocol {
instance: instance
)
default:
// Routing, not policy: whether a backend has accounts to sign in to
// is `InstanceType.accountCapabilities.supportsAccounts`, and a case
// belongs here the moment that row turns true.
throw APIError.notSupported
}
}