Call Disposition
This commit is contained in:
parent
9927b132b9
commit
e5638c0b20
20 changed files with 445 additions and 53 deletions
|
@ -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 });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue