mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 02:20:39 +00:00
Unsubscribe in client after timeout
This commit is contained in:
parent
29923cf930
commit
b3f550ee68
1 changed files with 1 additions and 0 deletions
|
@ -47,6 +47,7 @@ async fn handle_command(
|
||||||
println!("{v}");
|
println!("{v}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stream.unsubscribe().await?;
|
||||||
Ok(Value::Null)
|
Ok(Value::Null)
|
||||||
}
|
}
|
||||||
cli::CliCommands::AddDevice { uri } => client.add_device(cli.account, uri).await,
|
cli::CliCommands::AddDevice { uri } => client.add_device(cli.account, uri).await,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue