Holding tank: BTC4Hits imports skip the 24-hour sign-up grace (they never signed up here, no inviter to wait for); adopters can pick them up at once (Marty 2026-11-11). tank-hold all passed, tank-cap 15/15

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-11-11 08:46:24 -06:00
parent aff03d9c5c
commit 163bb9dfa0
+1 -1
View File
@@ -600,7 +600,7 @@ function alignedRecent(n) { return RS.load().aligned.slice(-(n || 50)).reverse()
// PROMPT: a tank member can name who invited them. nameSponsor() goes through setSponsor like adopt(), so it follows to the
// other site and clears the hold the same way, but it is the member's own choice: only ever for the signed-in member,
// never an open adoption (no 7-day window, no fall-back, no count toward the two), recorded as status 'invited'.
function graceEnd(a) { return (Number(a && a.created) || 0) + GRACE_MS; }
function graceEnd(a) { if (a && a.joinedRef === 'btc4hits') return 0; /* BTC4Hits imports (2026-11-11) never signed up here, so there is no inviter to wait for: adoptable at once (Marty: adopters on standby) */ return (Number(a && a.created) || 0) + GRACE_MS; }
function inGrace(a) { return graceEnd(a) > clock(); }
function leftText(ms) { const m = Math.max(1, Math.ceil(Number(ms) / 60000) || 1); const h = Math.floor(m / 60); return h ? h + ' h ' + (m % 60) + ' min' : m + ' min'; }
const adoptableOf = list => (list || []).filter(w => !(w.opensAt > clock()));