Display intended mute status while still connecting to a room
Co-authored-by: Mikayla <mikayla@zed.dev>
This commit is contained in:
parent
5af8ee71aa
commit
13982fe2f4
3 changed files with 6 additions and 6 deletions
|
@ -64,7 +64,7 @@ pub fn toggle_mute(_: &ToggleMute, cx: &mut AppContext) {
|
|||
if let Some(room) = call.room().cloned() {
|
||||
let client = call.client();
|
||||
room.update(cx, |room, cx| {
|
||||
if room.is_muted() {
|
||||
if room.is_muted(cx) {
|
||||
ActiveCall::report_call_event_for_room("enable microphone", room.id(), &client, cx);
|
||||
} else {
|
||||
ActiveCall::report_call_event_for_room(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue