aboutsummaryrefslogtreecommitdiff
path: root/src/message/signalproxy/rpccall/bufferinfo.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/message/signalproxy/rpccall/bufferinfo.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/message/signalproxy/rpccall/bufferinfo.rs b/src/message/signalproxy/rpccall/bufferinfo.rs
index 7ba2757..cc8ad3a 100644
--- a/src/message/signalproxy/rpccall/bufferinfo.rs
+++ b/src/message/signalproxy/rpccall/bufferinfo.rs
@@ -28,7 +28,7 @@ impl RpcCallType for BufferInfoUpdated {
Ok((
size,
Self {
- buffer: match_variant!(input.remove(0), Variant::BufferInfo),
+ buffer: input.remove(0).try_into().unwrap(),
}
.into(),
))