fix: ringtone not stopping when rejecting a call
This commit is contained in:
parent
a6c09e41dc
commit
9b8f3dae81
|
|
@ -920,6 +920,9 @@ class CallSession {
|
|||
/// event as of MSC2746.
|
||||
///
|
||||
void reject() {
|
||||
// stop play ringtone
|
||||
voip.delegate.stopRingtone();
|
||||
|
||||
if (state != CallState.kRinging) {
|
||||
Logs().e('[VOIP] Call must be in \'ringing\' state to reject!');
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in New Issue