This commit is contained in:
hzrd149 2024-09-04 08:21:38 -05:00
parent 04f46ee52c
commit 7e8855d94c
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,5 @@
---
"nostrudel": patch
---
Fixed client sending filters with empty #a tags

View File

@ -132,7 +132,7 @@ export default class BatchRelationLoader {
this.process.active = true;
this.subscription.filters = [];
if (ids.length > 0) this.subscription.filters.push({ "#e": ids, kinds: this.kinds });
if (ids.length > 0) this.subscription.filters.push({ "#a": cords, kinds: this.kinds });
if (cords.length > 0) this.subscription.filters.push({ "#a": cords, kinds: this.kinds });
await this.subscription.update();
} catch (error) {