mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Call Disposition
This commit is contained in:
@@ -224,8 +224,10 @@ export function IncomingCallBar(props: PropsType): JSX.Element | null {
|
||||
}, [bounceAppIconStart, bounceAppIconStop]);
|
||||
|
||||
const acceptVideoCall = useCallback(() => {
|
||||
acceptCall({ conversationId, asVideoCall: true });
|
||||
}, [acceptCall, conversationId]);
|
||||
if (isVideoCall) {
|
||||
acceptCall({ conversationId, asVideoCall: true });
|
||||
}
|
||||
}, [isVideoCall, acceptCall, conversationId]);
|
||||
|
||||
const acceptAudioCall = useCallback(() => {
|
||||
acceptCall({ conversationId, asVideoCall: false });
|
||||
|
||||
Reference in New Issue
Block a user