aboutsummaryrefslogtreecommitdiff
path: root/src/message/signalproxy/rpccall/identity.rs
diff options
context:
space:
mode:
authorMax Audron <me@audron.dev>2026-02-21 14:35:01 +0100
committerMax Audron <me@audron.dev>2026-02-21 14:35:01 +0100
commitf42ef4bec6d1c63c0d8564cfb06e996666dedbe3 (patch)
treee526bf4cae5ecf798469acc157b14122d4a5e25a /src/message/signalproxy/rpccall/identity.rs
parentreplace all match_variant instances with try_into (diff)
clean up clippy lints
Diffstat (limited to 'src/message/signalproxy/rpccall/identity.rs')
-rw-r--r--src/message/signalproxy/rpccall/identity.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/message/signalproxy/rpccall/identity.rs b/src/message/signalproxy/rpccall/identity.rs
index 1672e98..15beec4 100644
--- a/src/message/signalproxy/rpccall/identity.rs
+++ b/src/message/signalproxy/rpccall/identity.rs
@@ -54,7 +54,7 @@ impl RpcCallType for RemoveIdentity {
fn to_network(&self) -> Result<Vec<crate::primitive::Variant>, crate::ProtocolError> {
Ok(vec![
Variant::ByteArray(Self::NAME.to_string()),
- Variant::IdentityId(self.identity_id.clone()),
+ Variant::IdentityId(self.identity_id),
])
}
@@ -120,7 +120,7 @@ impl RpcCallType for IdentityRemoved {
fn to_network(&self) -> Result<Vec<crate::primitive::Variant>, crate::ProtocolError> {
Ok(vec![
Variant::ByteArray(Self::NAME.to_string()),
- Variant::IdentityId(self.identity_id.clone()),
+ Variant::IdentityId(self.identity_id),
])
}