mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
Merge branch 'fix-not-being-able-to-post' into 'main'
Fix not being able to post Closes #175 See merge request soapbox-pub/ditto!411
This commit is contained in:
commit
155ca77074
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