Lower frequency of popup warning when leaving a call

co-authored-by: conrad <conrad.irwin@gmail.com>
This commit is contained in:
Mikayla 2023-10-03 19:30:05 -07:00
parent 95342c8c33
commit 23ee8211c7
No known key found for this signature in database
2 changed files with 13 additions and 2 deletions

View file

@ -104,6 +104,10 @@ impl Room {
self.channel_id
}
pub fn is_sharing_project(&self) -> bool {
!self.shared_projects.is_empty()
}
#[cfg(any(test, feature = "test-support"))]
pub fn is_connected(&self) -> bool {
if let Some(live_kit) = self.live_kit.as_ref() {