]> nmode's Git Repositories - signal-cli/blobdiff - client/src/main.rs
Implement reacting to stories
[signal-cli] / client / src / main.rs
index c0ef0de6029909b2b4f667ceba5c4be474e7e201..2951295314ff79a3cf5ff224495c8f0bb3f58caa 100644 (file)
@@ -1,4 +1,4 @@
-use clap::StructOpt;
+use clap::Parser;
 use jsonrpc_client_transports::{RpcError, TypedSubscriptionStream};
 use jsonrpc_core::{futures_util::StreamExt, Value};
 use std::{path::PathBuf, time::Duration};
@@ -164,6 +164,7 @@ async fn main() -> Result<(), anyhow::Error> {
             target_author,
             target_timestamp,
             remove,
+            story,
         } => {
             client
                 .send_reaction(
@@ -175,6 +176,7 @@ async fn main() -> Result<(), anyhow::Error> {
                     target_author,
                     target_timestamp,
                     remove,
+                    story,
                 )
                 .await
         }