fix: ensure trust score check excludes Zap notifications
This commit is contained in:
parent
d7eac362f8
commit
95023b181c
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ export function NotificationItem({
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check trust score
|
// Check trust score
|
||||||
if (!(await meetsMinTrustScore(notification.pubkey))) {
|
if (notification.kind !== kinds.Zap && !(await meetsMinTrustScore(notification.pubkey))) {
|
||||||
setCanShow(false)
|
setCanShow(false)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue