Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Don't play call end sound for calls that never started #5506

Merged
merged 1 commit into from
Dec 18, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/CallHandler.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,8 @@ export default class CallHandler {
title: _t("Answered Elsewhere"),
description: _t("The call was answered on another device."),
});
} else {
} else if (oldState !== CallState.Fledgling) {
// don't play the end-call sound for calls that never got off the ground
this.play(AudioID.CallEnd);
}
}
Expand Down