mirror of
https://github.com/aljazceru/ditto.git
synced 2026-01-15 19:34:25 +01: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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user