From 4fdf15761c1e5570df4e5a18e8b5e5d6074c0ff6 Mon Sep 17 00:00:00 2001 From: "P. Reis" Date: Fri, 10 May 2024 18:18:55 -0300 Subject: [PATCH] refactor(UserStore): remove isMuted function --- src/storages/UserStore.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/storages/UserStore.ts b/src/storages/UserStore.ts index b13df42..1c7aaee 100644 --- a/src/storages/UserStore.ts +++ b/src/storages/UserStore.ts @@ -30,11 +30,6 @@ export class UserStore implements NStore { }); } - async isMuted(pubkey: string): Promise { - const mutedPubkeys = await this.getMutedPubkeys(); - return mutedPubkeys.has(pubkey); - } - private async getMuteList(): Promise { const [muteList] = await this.store.query([{ authors: [this.pubkey], kinds: [10000], limit: 1 }]); return muteList;