Fix add-phone handoff and SMS Bower rotation

This commit is contained in:
chick
2026-05-31 01:31:19 +08:00
parent 39af4f9ca4
commit c360e3f569
4 changed files with 65 additions and 6 deletions
+5 -1
View File
@@ -365,7 +365,11 @@
await (String(options?.releaseAction || '').trim().toLowerCase() === 'ban'
? banActivation(state, activation, deps)
: cancelActivation(state, activation, deps));
return { currentTicketId: String(activation?.activationId || activation?.id || ''), nextActivation: null };
const nextActivation = await requestActivation(state, {
...options,
skipPreferredActivation: true,
}, deps);
return { currentTicketId: String(activation?.activationId || activation?.id || ''), nextActivation };
}
function extractVerificationCode(raw = '') {