mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
Fix not being able to post
This commit is contained in:
parent
a9afe03a37
commit
2167106577
1 changed files with 2 additions and 0 deletions
|
|
@ -250,6 +250,8 @@ class EventsDB implements NStore {
|
|||
|
||||
/** Converts filters to more performant, simpler filters that are better for SQLite. */
|
||||
async expandFilters(filters: NostrFilter[]): Promise<NostrFilter[]> {
|
||||
filters = structuredClone(filters);
|
||||
|
||||
for (const filter of filters) {
|
||||
if (filter.search) {
|
||||
const tokens = NIP50.parseInput(filter.search);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue