Message kinds from InstantAdPay (broadcast / alert / notice): carry-over notices are quiet inbox notices, never the sign-in modal; a one-time startup pass reclassifies the ones already stored

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-10-15 08:42:31 -05:00
parent 19bb98eabc
commit baa7db61ff
3 changed files with 32 additions and 11 deletions
+1
View File
@@ -404,6 +404,7 @@ async function boot() {
ads.init({ dataDir: DATA_DIR, chain });
mailer.init({ dataDir: DATA_DIR });
messages.init({ dataDir: DATA_DIR });
messages.reclassifyCarryNotices(ADMIN_EMAIL || 'house@linkspin.co').then(n => { if (n) console.log('messages: ' + n + ' carry notices made quiet (notice kind)'); }).catch(() => {});
reports.init({ dataDir: DATA_DIR });
drip.init({ dataDir: DATA_DIR, mailer, accounts, chain, site: SITE_URL });
chatbot.init({ dataDir: DATA_DIR, chain });