mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
EventsDB: index kind 20 in search the same as kind 1
This commit is contained in:
parent
7a60b4b8d8
commit
079177ea0b
1 changed files with 1 additions and 0 deletions
|
|
@ -283,6 +283,7 @@ class EventsDB extends NPostgres {
|
||||||
case 0:
|
case 0:
|
||||||
return EventsDB.buildUserSearchContent(event);
|
return EventsDB.buildUserSearchContent(event);
|
||||||
case 1:
|
case 1:
|
||||||
|
case 20:
|
||||||
return nip27.replaceAll(event.content, () => '');
|
return nip27.replaceAll(event.content, () => '');
|
||||||
case 30009:
|
case 30009:
|
||||||
return EventsDB.buildTagsSearchContent(event.tags.filter(([t]) => t !== 'alt'));
|
return EventsDB.buildTagsSearchContent(event.tags.filter(([t]) => t !== 'alt'));
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue