Refactor NostrFeed module and remove marketplace components

- Deleted the MarketProduct component and associated market parsing logic, streamlining the NostrFeed module.
- Updated FeedService to exclude marketplace events from the main feed, ensuring clearer event management.
- Adjusted content filters to remove marketplace-related entries, enhancing the organization of content filtering.

These changes improve the clarity and efficiency of the NostrFeed module by separating marketplace functionality.
This commit is contained in:
padreug 2025-09-17 02:50:12 +02:00
parent 2a9915a727
commit 3c20d1c584
6 changed files with 3 additions and 389 deletions

View file

@ -279,10 +279,6 @@ export class FeedService extends BaseService {
return false
}
// Exclude marketplace events (they have their own dedicated section)
if (event.kind === 30017 || event.kind === 30018 || event.kind === 30019) {
return false
}
const isAdminPost = config.adminPubkeys?.includes(event.pubkey) || false