mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 03:19:46 +00:00
fix: reply now is always false for kinds 21, 22, 34235, 34236
This commit is contained in:
parent
f5f954e4c4
commit
49f983f948
1 changed files with 1 additions and 1 deletions
|
|
@ -491,7 +491,7 @@ export class DittoPgStore extends NPostgres {
|
|||
} else if (event.kind === 6) {
|
||||
ext.reply = 'false';
|
||||
} 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)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue