This commit is contained in:
@@ -43,6 +43,12 @@ impl RealtimeMessages {
|
||||
}
|
||||
}
|
||||
|
||||
impl Default for RealtimeMessages {
|
||||
fn default() -> Self {
|
||||
Self::new()
|
||||
}
|
||||
}
|
||||
|
||||
impl RealTimeVoices {
|
||||
pub fn new() -> Self {
|
||||
Self {
|
||||
@@ -63,3 +69,9 @@ impl RealTimeVoices {
|
||||
self.rooms.retain(|_, sender| sender.receiver_count() > 0);
|
||||
}
|
||||
}
|
||||
|
||||
impl Default for RealTimeVoices {
|
||||
fn default() -> Self {
|
||||
Self::new()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user