From 4b6926b0b90422699c113611a77bf1488b06e0a6 Mon Sep 17 00:00:00 2001 From: enes Date: Tue, 19 Nov 2024 13:08:27 +0100 Subject: [PATCH] refactor(wot): single loop only --- src/utils/wot.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/utils/wot.ts b/src/utils/wot.ts index be3b481..fa8bcd0 100644 --- a/src/utils/wot.ts +++ b/src/utils/wot.ts @@ -98,9 +98,7 @@ export const findFollowsAndMuteUsers = async ( follows.add(f) }) } - }) - events.forEach((event) => { if (event.kind === NDKKind.MuteList) { filterValidPTags(event.tags).forEach((f) => { muted.add(f)