From 9e305eaebeeaba64649d3c39b22003ba9be1a407 Mon Sep 17 00:00:00 2001 From: Max Audron Date: Sun, 23 Feb 2025 13:18:30 +0100 Subject: fix ircchannel and maplist network representation --- src/message/signalproxy/objects/ignorelistmanager.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/message/signalproxy/objects/ignorelistmanager.rs') diff --git a/src/message/signalproxy/objects/ignorelistmanager.rs b/src/message/signalproxy/objects/ignorelistmanager.rs index ce4ad43..ca287e8 100644 --- a/src/message/signalproxy/objects/ignorelistmanager.rs +++ b/src/message/signalproxy/objects/ignorelistmanager.rs @@ -184,7 +184,7 @@ impl Syncable for IgnoreListManager { pub struct IgnoreListItem { #[network(rename = "ignoreType", type = "i32")] pub ignore_type: IgnoreType, - #[network(rename = "ignoreRule", variant = "StringList")] + #[network(rename = "ignoreRule", stringlist)] pub ignore_rule: String, #[network(rename = "isRegEx")] pub is_regex: bool, @@ -192,7 +192,7 @@ pub struct IgnoreListItem { pub strictness: StrictnessType, #[network(rename = "scope", type = "i32")] pub scope: ScopeType, - #[network(rename = "scopeRule", variant = "StringList")] + #[network(rename = "scopeRule", stringlist)] pub scope_rule: String, #[network(rename = "isActive")] pub is_active: bool, -- cgit v1.2.3