mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-09-19 12:00:32 +02:00
Fix users events being hidden by muted words
This commit is contained in:
5
.changeset/many-yaks-burn.md
Normal file
5
.changeset/many-yaks-burn.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"nostrudel": patch
|
||||
---
|
||||
|
||||
Fix users events being hidden by muted words
|
@@ -13,8 +13,9 @@ export default function useClientSideMuteFilter() {
|
||||
|
||||
return useCallback(
|
||||
(event: NostrEvent) => {
|
||||
if (event.pubkey === account?.pubkey) return false;
|
||||
return wordMuteFilter(event) || mustListFilter(event);
|
||||
},
|
||||
[wordMuteFilter, mustListFilter],
|
||||
[wordMuteFilter, mustListFilter, account?.pubkey],
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user