From: AsamK Date: Wed, 16 Jul 2025 18:59:26 +0000 (+0200) Subject: Fix send parameters to be all camel case X-Git-Url: https://git.nmode.ca/signal-cli/commitdiff_plain/f9a36c6e0404d06bd396b24b5ea699e49ed29b89?hp=be48afb2b5b4b138f09dcb112541fa56106a16d6 Fix send parameters to be all camel case Fixes #1814 --- diff --git a/client/src/jsonrpc.rs b/client/src/jsonrpc.rs index fe0dc668..66ef9d9d 100644 --- a/client/src/jsonrpc.rs +++ b/client/src/jsonrpc.rs @@ -183,7 +183,7 @@ pub trait Rpc { endSession: bool, message: String, attachments: Vec, - view_once: bool, + viewOnce: bool, mentions: Vec, textStyle: Vec, quoteTimestamp: Option, @@ -192,10 +192,10 @@ pub trait Rpc { quoteMention: Vec, quoteTextStyle: Vec, quoteAttachment: Vec, - preview_url: Option, - preview_title: Option, - preview_description: Option, - preview_image: Option, + previewUrl: Option, + previewTitle: Option, + previewDescription: Option, + previewImage: Option, sticker: Option, storyTimestamp: Option, storyAuthor: Option,