aboutsummaryrefslogtreecommitdiff
path: root/src/message/signalproxy/rpccall/mod.rs
diff options
context:
space:
mode:
authorMax Audron <me@audron.dev>2026-02-21 17:25:52 +0100
committerMax Audron <me@audron.dev>2026-02-21 17:25:52 +0100
commite63ecc10aa426e3aba416fd05a3f568d719a79a3 (patch)
treee1a8dc6e4197e51ddeb3d631410acec9eda3cf6a /src/message/signalproxy/rpccall/mod.rs
parentuse ProtocolError for From derive (diff)
handshare and signalproxy/rpccall error handling
Diffstat (limited to 'src/message/signalproxy/rpccall/mod.rs')
-rw-r--r--src/message/signalproxy/rpccall/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/message/signalproxy/rpccall/mod.rs b/src/message/signalproxy/rpccall/mod.rs
index 2a3e7b1..3d869d2 100644
--- a/src/message/signalproxy/rpccall/mod.rs
+++ b/src/message/signalproxy/rpccall/mod.rs
@@ -110,7 +110,7 @@ impl Deserialize for RpcCall {
res.remove(0);
- let rpc: String = res.remove(0).try_into().unwrap();
+ let rpc: String = res.remove(0).try_into()?;
match rpc.as_str() {
DisplayMessage::NAME => DisplayMessage::from_network(size, &mut res),