feat: ability to force disconnect existing voice connection

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

No files matched your search

+5
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>
}
);