Show 'join anyway' in verify dialog when joining call

This commit is contained in:
Scott Nonnenberg 2023-09-05 17:34:51 -07:00 committed by GitHub
parent b6ed789197
commit 507986db92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 85 additions and 46 deletions

View file

@ -149,7 +149,11 @@ export function SmartTimelineItem(props: ExternalProps): JSX.Element {
const { viewStory } = useStoriesActions();
const { returnToActiveCall, startCallingLobby } = useCallingActions();
const {
onOutgoingAudioCallInConversation,
onOutgoingVideoCallInConversation,
returnToActiveCall,
} = useCallingActions();
return (
<TimelineItem
@ -186,6 +190,8 @@ export function SmartTimelineItem(props: ExternalProps): JSX.Element {
pushPanelForConversation={pushPanelForConversation}
reactToMessage={reactToMessage}
copyMessageText={copyMessageText}
onOutgoingAudioCallInConversation={onOutgoingAudioCallInConversation}
onOutgoingVideoCallInConversation={onOutgoingVideoCallInConversation}
retryDeleteForEveryone={retryDeleteForEveryone}
retryMessageSend={retryMessageSend}
returnToActiveCall={returnToActiveCall}
@ -201,7 +207,6 @@ export function SmartTimelineItem(props: ExternalProps): JSX.Element {
showLightbox={showLightbox}
showLightboxForViewOnceMedia={showLightboxForViewOnceMedia}
showSpoiler={showSpoiler}
startCallingLobby={startCallingLobby}
startConversation={startConversation}
toggleDeleteMessagesModal={toggleDeleteMessagesModal}
toggleForwardMessagesModal={toggleForwardMessagesModal}