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:
@@ -114,6 +114,8 @@ def main():
|
|||||||
opt.add(line.strip().lower().lstrip('@'))
|
opt.add(line.strip().lower().lstrip('@'))
|
||||||
iapd = voldir(CHAINS['iap'])
|
iapd = voldir(CHAINS['iap'])
|
||||||
so = load(os.path.join(iapd, 'stack-optin.json'), {}) if iapd else {}
|
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():
|
for un, on in (so.get('users', {}) if isinstance(so, dict) else {}).items():
|
||||||
(opt.add if on else opt.discard)(str(un).lower())
|
(opt.add if on else opt.discard)(str(un).lower())
|
||||||
# aggregate
|
# aggregate
|
||||||
|
|||||||
Reference in New Issue
Block a user