fix: allow to query kind 0 of blocked users
This commit is contained in:
parent
2b605d2ac3
commit
de08aeac10
|
@ -29,7 +29,7 @@ export class UserStore implements NStore {
|
||||||
const mutedPubkeys = getTagSet(mutedPubkeysEvent.tags, 'p');
|
const mutedPubkeys = getTagSet(mutedPubkeysEvent.tags, 'p');
|
||||||
|
|
||||||
return allEvents.filter((event) => {
|
return allEvents.filter((event) => {
|
||||||
return mutedPubkeys.has(event.pubkey) === false;
|
return event.kind === 0 || mutedPubkeys.has(event.pubkey) === false;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue