WIP: sending method as an explicit choice, kept in payload-kv (superseded: the choice moves to a stored field)
Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
co-authored by
Claude Fable 5.2
parent
68a2555277
commit
c6841a1674
@@ -73,6 +73,7 @@ export async function collectDoctorStatus(payload: BasePayload): Promise<DoctorS
|
||||
graphEnv: graphAvailable(),
|
||||
...(state.nonPublic ? { nonPublic: true, ...(state.nonPublicBy ? { nonPublicBy: state.nonPublicBy } : {}), ...(state.nonPublicPattern ? { nonPublicPattern: state.nonPublicPattern } : {}) } : {}),
|
||||
...(state.otherHostEntries ? { otherHostEntries: true } : {}),
|
||||
methodChosen: state.methodChosen,
|
||||
relay: state.relay
|
||||
? {
|
||||
connected: state.relay.connected,
|
||||
@@ -84,6 +85,7 @@ export async function collectDoctorStatus(payload: BasePayload): Promise<DoctorS
|
||||
: null,
|
||||
replyAddress: Boolean(state.replyAddress),
|
||||
status: integrations.emailStatus?.state ? { code: integrations.emailStatus.code ?? null, since: integrations.emailStatus.since ?? null, state: integrations.emailStatus.state } : null,
|
||||
...(state.methodProblem ? { methodProblem: state.methodProblem } : {}),
|
||||
transport: state.transport,
|
||||
}
|
||||
} catch {
|
||||
|
||||
Reference in New Issue
Block a user