mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-09-27 12:07:43 +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.process.active = true;
|
||||||
this.subscription.filters = [];
|
this.subscription.filters = [];
|
||||||
if (ids.length > 0) this.subscription.filters.push({ "#e": ids, kinds: this.kinds });
|
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();
|
await this.subscription.update();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
Reference in New Issue
Block a user