fix: reply now is always false for kinds 21, 22, 34235, 34236

This commit is contained in:
Patrick PReis 2025-12-05 18:37:20 -03:00
parent f5f954e4c4
commit 49f983f948

View file

@ -491,7 +491,7 @@ export class DittoPgStore extends NPostgres {
} else if (event.kind === 6) { } else if (event.kind === 6) {
ext.reply = 'false'; ext.reply = 'false';
} else if ([21, 22, 34235, 34236].includes(event.kind)) { } else if ([21, 22, 34235, 34236].includes(event.kind)) {
ext.reply = event.tags.some(([name]) => name === 'e').toString(); ext.reply = 'false' // reply must be handled in another way: https://github.com/nostr-protocol/nips/issues/2146
} }
if ([1, 20, 30023].includes(event.kind)) { if ([1, 20, 30023].includes(event.kind)) {