diff options
| author | Adam Soltys <[email protected]> | 2026-09-21 18:12:04 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-09-21 18:12:04 -0700 |
| commit | 562a52cda54a97f1595fbcdb5803d7c49421b825 (patch) | |
| tree | bc5a1449510758ddbc214294920f26da781e22da /src | |
| parent | 2fefb01640a0d4c353ac0dd351f2059688b7d73a (diff) | |
| download | coinosv3-562a52cda54a97f1595fbcdb5803d7c49421b825.tar.gz coinosv3-562a52cda54a97f1595fbcdb5803d7c49421b825.zip | |
Starter feeds: #gardenstr only until a Bitcoin follow pack is chosen.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Tmfg8k5f3TbNJS34qiqHAp
Diffstat (limited to 'src')
| -rw-r--r-- | src/features/messages.js | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/features/messages.js b/src/features/messages.js index 1d7874f..3f748f4 100644 --- a/src/features/messages.js +++ b/src/features/messages.js @@ -3423,7 +3423,8 @@ export function messagesFeature(ctx) { '72bdbc57bdd6dfc4e62685051de8041d148c3c68fe42bf301f71aa6cf53e52fb', // coinos ]; // The Bitcoin feed's follow pack (NIP-51 kind 39089): { pk, d, relays, title }. - // Until one is chosen the feed reads the #bitcoin topic instead. + // Until one is chosen there is no Bitcoin feed — a #bitcoin topic feed was + // too noisy to hand a newcomer. const STARTER_BITCOIN_PACK = null; async function seedNewIdentity({ onlyIfNoFollows = false } = {}) { const s = st(); @@ -3431,11 +3432,9 @@ export function messagesFeature(ctx) { s.seeded = Date.now(); const at = Date.now(); const feeds = [ - STARTER_BITCOIN_PACK - ? { id: 'starter-bitcoin', name: 'Bitcoin', follows: false, authors: [], packs: [STARTER_BITCOIN_PACK], topics: [], at } - : { id: 'starter-bitcoin', name: 'Bitcoin', follows: false, authors: [], packs: [], topics: ['bitcoin'], at }, + STARTER_BITCOIN_PACK ? { id: 'starter-bitcoin', name: 'Bitcoin', follows: false, authors: [], packs: [STARTER_BITCOIN_PACK], topics: [], at } : null, { id: 'starter-gardenstr', name: '#gardenstr', follows: false, authors: [], packs: [], topics: ['gardenstr'], at }, - ]; + ].filter(Boolean); for (const f of feeds) if (!s.feeds.some((x) => x.id === f.id)) s.feeds.push(f); save(s); if (onlyIfNoFollows) { |
