mirror of
https://github.com/vector-im/element-call.git
synced 2026-03-19 06:20:25 +00:00
@@ -362,11 +362,11 @@ export const InCallView: FC<InCallViewProps> = ({
|
||||
if (callPickupState === "decline") {
|
||||
void pickupPhaseAudio
|
||||
?.playSound("decline")
|
||||
.then(() => {
|
||||
onLeave();
|
||||
})
|
||||
.catch((e) => {
|
||||
logger.error("Failed to play decline sound", e);
|
||||
})
|
||||
.finally(() => {
|
||||
onLeave();
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user