mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-04-11 13:20:37 +02:00
Fix users events being hidden by muted words
This commit is contained in:
parent
b1d7418151
commit
5c49114375
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],
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user