feat: zap details (#731)

Co-authored-by: The Daniel <dmnyc@users.noreply.github.com>
Co-authored-by: The Daniel ️ <dmnycnet@proton.me>
This commit is contained in:
Cody Tseng 2026-01-13 22:54:50 +08:00 committed by GitHub
parent 603bd35b4a
commit 7e8f1692ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 138 additions and 47 deletions

View file

@ -329,7 +329,7 @@ class StuffStatsService {
const info = getZapInfoFromEvent(evt)
if (!info) return
const { originalEventId, senderPubkey, invoice, amount, comment } = info
if (!originalEventId || !senderPubkey) return
if (!originalEventId || !senderPubkey || amount <= 0) return
return this.addZap(
senderPubkey,