mirror of
https://github.com/aljazceru/ditto.git
synced 2025-12-26 09:44:25 +01:00
fix: allow to query kind 0 of blocked users
This commit is contained in:
@@ -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;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user