fix: remove node from channel voice state

This commit is contained in:
Zomatree
2025-06-05 17:26:37 +01:00
parent 3dbf3bb7a0
commit 901ac56154
2 changed files with 3 additions and 7 deletions

View File

@@ -316,7 +316,7 @@ auto_derived!(
/// Token for authenticating with the voice server
pub token: String,
/// Url of the livekit server to connect to
pub url: String
pub url: String,
}
/// Voice state for a channel
@@ -324,13 +324,11 @@ auto_derived!(
pub id: String,
/// The states of the users who are connected to the channel
pub participants: Vec<UserVoiceState>,
/// The node's node which the channel is currently using
pub node: String
}
/// Join a voice channel
pub struct DataJoinCall {
pub node: Option<String>
pub node: Option<String>,
}
);