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:
parent
2a9915a727
commit
3c20d1c584
6 changed files with 3 additions and 389 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue