From 8783765ce3a9cb331eb753815fc871eef140164f Mon Sep 17 00:00:00 2001 From: David Baker Date: Mon, 25 Jan 2021 16:18:14 +0000 Subject: [PATCH] Don't play the hangup sound when the call is answered from elsewhere --- src/CallHandler.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CallHandler.tsx b/src/CallHandler.tsx index bcb2042f84..5e22b28b6f 100644 --- a/src/CallHandler.tsx +++ b/src/CallHandler.tsx @@ -375,7 +375,7 @@ export default class CallHandler { title: _t("Answered Elsewhere"), description: _t("The call was answered on another device."), }); - } else if (oldState !== CallState.Fledgling) { + } else if (oldState !== CallState.Fledgling && oldState !== CallState.Ringing) { // don't play the end-call sound for calls that never got off the ground this.play(AudioID.CallEnd); }