Merge branch 'nico/fix-ringtone-on-reject' into 'main'
fix: ringtone not stopping when rejecting a call See merge request famedly/company/frontend/famedlysdk!1058
This commit is contained in:
commit
507dfc8777
|
|
@ -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