mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
fix: index k tag even if the value is not a number and count is less than 3
This commit is contained in:
parent
fab34dbf5b
commit
4451aafadc
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ export class DittoPgStore extends NPostgres {
|
|||
'a': ({ count }) => count < 15,
|
||||
'd': ({ event, count }) => count === 0 && NKinds.parameterizedReplaceable(event.kind),
|
||||
'e': DittoPgStore.eTagCondition,
|
||||
'k': ({ count, value }) => count === 0 && Number.isInteger(Number(value)),
|
||||
'k': ({ count }) => count < 3,
|
||||
'L': ({ event, count }) => event.kind === 1985 || count === 0,
|
||||
'l': ({ event, count }) => event.kind === 1985 || count === 0,
|
||||
'n': ({ count, value }) => count < 50 && value.length < 50,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue