mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-09-23 16:03:15 +02:00
fix #213
This commit is contained in:
5
.changeset/light-eyes-joke.md
Normal file
5
.changeset/light-eyes-joke.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"nostrudel": patch
|
||||
---
|
||||
|
||||
Fixed client sending filters with empty #a tags
|
@@ -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) {
|
||||
|
Reference in New Issue
Block a user