From ab7a60c6ded32b3a14dc7825f173054678297543 Mon Sep 17 00:00:00 2001 From: "P. Reis" Date: Sat, 27 Apr 2024 17:04:14 -0300 Subject: [PATCH] fix(UserStore): add missing return keyword in array filter --- src/storages/UserStore.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storages/UserStore.ts b/src/storages/UserStore.ts index 615e2af..78c3d33 100644 --- a/src/storages/UserStore.ts +++ b/src/storages/UserStore.ts @@ -29,7 +29,7 @@ export class UserStore implements NStore { const mutedPubkeys = getTagSet(mutedPubkeysEvent.tags, 'p'); return allEvents.filter((event) => { - mutedPubkeys.has(event.pubkey) === false; + return mutedPubkeys.has(event.pubkey) === false; }); }