feat: index reply in kinds 20, 21, 22, 34235, 34236

This commit is contained in:
Patrick PReis 2025-12-04 23:17:04 -03:00
parent c7a19e1c2d
commit f5f954e4c4

View file

@ -490,6 +490,8 @@ export class DittoPgStore extends NPostgres {
ext.reply = event.tags.some(([name]) => ['e', 'E'].includes(name)).toString(); ext.reply = event.tags.some(([name]) => ['e', 'E'].includes(name)).toString();
} 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)) {
ext.reply = event.tags.some(([name]) => name === 'e').toString();
} }
if ([1, 20, 30023].includes(event.kind)) { if ([1, 20, 30023].includes(event.kind)) {