Upgrade Nostrify to v0.23.3, remove normalizeFilters call in EventsDB (NDatabase does this now)

This commit is contained in:
Alex Gleason
2024-06-17 17:29:01 -05:00
parent f81fcf0eec
commit 2f3b656af5
3 changed files with 6 additions and 7 deletions

View File

@@ -7,7 +7,6 @@ import { nip27 } from 'nostr-tools';
import { Conf } from '@/config.ts';
import { DittoTables } from '@/db/DittoTables.ts';
import { normalizeFilters } from '@/filter.ts';
import { RelayError } from '@/RelayError.ts';
import { purifyEvent } from '@/storages/hydrate.ts';
import { isNostrId, isURL } from '@/utils.ts';
@@ -264,7 +263,7 @@ class EventsDB implements NStore {
}
}
return normalizeFilters(filters); // Improves performance of `{ kinds: [0], authors: ['...'] }` queries.
return filters;
}
}