mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
feat: index reply in kinds 20, 21, 22, 34235, 34236
This commit is contained in:
parent
c7a19e1c2d
commit
f5f954e4c4
1 changed files with 2 additions and 0 deletions
|
|
@ -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)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue