Indexer: every paid member gets a page by default; an explicit switch-off in IAP hides it (Marty 2026-11-09)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-11-09 15:41:24 -06:00
parent 05f3514b9e
commit 5b0ef24378
+2
View File
@@ -114,6 +114,8 @@ def main():
opt.add(line.strip().lower().lstrip('@'))
iapd = voldir(CHAINS['iap'])
so = load(os.path.join(iapd, 'stack-optin.json'), {}) if iapd else {}
# on by default (Marty 2026-11-09): every member who has been paid gets a page; an explicit switch-off in IAP hides it
opt |= {r['u'] for r in rows if r['u']}
for un, on in (so.get('users', {}) if isinstance(so, dict) else {}).items():
(opt.add if on else opt.discard)(str(un).lower())
# aggregate