feat: support configurable trust score threshold per context

This commit is contained in:
codytseng 2026-01-14 23:20:28 +08:00
parent 28a1b3096a
commit ca9610b711
46 changed files with 350 additions and 122 deletions

View file

@ -13,7 +13,7 @@ export async function notificationFilter(
pubkey?: string | null
mutePubkeySet: Set<string>
hideContentMentioningMutedUsers?: boolean
meetsMinTrustScore: (pubkey: string, minScore?: number) => Promise<boolean>
meetsMinTrustScore: (pubkey: string) => Promise<boolean>
}
): Promise<boolean> {
if (