fix: ensure trust score check excludes Zap notifications

This commit is contained in:
codytseng 2026-01-07 21:51:08 +08:00
parent d7eac362f8
commit 95023b181c

View file

@ -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
} }