Signed-off-by: Timo K <toger5@hotmail.de>
This commit is contained in:
Timo K
2025-09-12 12:08:47 +02:00
parent c382291336
commit fb01c53f98

View File

@@ -362,11 +362,11 @@ export const InCallView: FC<InCallViewProps> = ({
if (callPickupState === "decline") { if (callPickupState === "decline") {
void pickupPhaseAudio void pickupPhaseAudio
?.playSound("decline") ?.playSound("decline")
.then(() => {
onLeave();
})
.catch((e) => { .catch((e) => {
logger.error("Failed to play decline sound", e); logger.error("Failed to play decline sound", e);
})
.finally(() => {
onLeave();
}); });
} }
}); });