fix: allow to query kind 0 of blocked users

This commit is contained in:
P. Reis 2024-04-30 21:28:45 -03:00
parent 2b605d2ac3
commit de08aeac10
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ export class UserStore implements NStore {
const mutedPubkeys = getTagSet(mutedPubkeysEvent.tags, 'p');
return allEvents.filter((event) => {
return mutedPubkeys.has(event.pubkey) === false;
return event.kind === 0 || mutedPubkeys.has(event.pubkey) === false;
});
}