mirror of
https://github.com/vector-im/element-call.git
synced 2026-08-29 21:15:19 +00:00
@@ -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();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user