mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
fix(UserStore): add missing return keyword in array filter
This commit is contained in:
parent
a7912e0800
commit
ab7a60c6de
1 changed files with 1 additions and 1 deletions
|
|
@ -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) => {
|
||||||
mutedPubkeys.has(event.pubkey) === false;
|
return mutedPubkeys.has(event.pubkey) === false;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue