Merge branch 'td/stopRingtone' into 'main'
fix: try to stop ringtone on call termination Closes famedly/company/product-management#531 See merge request famedly/company/frontend/famedlysdk!1220
This commit is contained in:
commit
f9c0fdca69
|
|
@ -1067,6 +1067,13 @@ class CallSession {
|
||||||
ringingTimer?.cancel();
|
ringingTimer?.cancel();
|
||||||
ringingTimer = null;
|
ringingTimer = null;
|
||||||
|
|
||||||
|
try {
|
||||||
|
voip.delegate.stopRingtone();
|
||||||
|
} catch (e) {
|
||||||
|
// maybe rigntone never started (group calls) or has been stopped already
|
||||||
|
Logs().d('stopping ringtone failed ', e);
|
||||||
|
}
|
||||||
|
|
||||||
hangupParty = party;
|
hangupParty = party;
|
||||||
hangupReason = reason;
|
hangupReason = reason;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue