feat: ability to force disconnect existing voice connection

This commit is contained in:
Zomatree
2025-08-04 03:19:53 +01:00
parent eb48975428
commit 10c9682bba
2 changed files with 42 additions and 8 deletions

View File

@@ -328,7 +328,12 @@ auto_derived!(
/// Join a voice channel
pub struct DataJoinCall {
/// Name of the node to join
pub node: Option<String>,
/// Whether to force disconnect any other existing voice connections.
///
/// useful for disconnecting on another device and joining on a new.
pub force_disconnect: Option<bool>
}
);