mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 04:06:44 +02:00
Don't play the hangup sound when the call is answered from elsewhere
This commit is contained in:
parent
bb50cd56ee
commit
8783765ce3
@ -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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user