Remove active call data when it was accepted (#4007)
That hopefully helps with call notifications sometimes not being closed Release Notes: - N/A
This commit is contained in:
commit
ebd9d3dde5
1 file changed
+1
-1
@@ -282,7 +282,7 @@ impl ActiveCall {
|
||||
return Task::ready(Err(anyhow!("cannot join while on another call")));
|
||||
}
|
||||
|
||||
let call = if let Some(call) = self.incoming_call.1.borrow().clone() {
|
||||
let call = if let Some(call) = self.incoming_call.0.borrow_mut().take() {
|
||||
call
|
||||
} else {
|
||||
return Task::ready(Err(anyhow!("no incoming call")));
|
||||
|
||||
Reference in new issue
Block a user