diff options
| author | Max Audron <audron@cocaine.farm> | 2025-02-23 13:18:30 +0100 |
|---|---|---|
| committer | Max Audron <audron@cocaine.farm> | 2025-02-23 13:18:30 +0100 |
| commit | 9e305eaebeeaba64649d3c39b22003ba9be1a407 (patch) | |
| tree | b9d8665058f3dcac2d4d4c8c4c697a71d1bc2935 /src/message/signalproxy/objects/ignorelistmanager.rs | |
| parent | replace deprecated failure crate with thiserror (diff) | |
fix ircchannel and maplist network representation
Diffstat (limited to 'src/message/signalproxy/objects/ignorelistmanager.rs')
| -rw-r--r-- | src/message/signalproxy/objects/ignorelistmanager.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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, |
