Add contextMenu for deleting call events on right-click

This commit is contained in:
trevor-signal 2023-12-12 11:11:39 -05:00 committed by GitHub
parent 7fb01f102d
commit 88fd42a46b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 394 additions and 269 deletions

View file

@ -253,11 +253,13 @@ export const TimelineItem = memo(function TimelineItem({
} else if (item.type === 'callHistory') {
notification = (
<CallingNotification
id={id}
conversationId={conversationId}
i18n={i18n}
isNextItemCallingNotification={isNextItemCallingNotification}
onOutgoingAudioCallInConversation={onOutgoingAudioCallInConversation}
onOutgoingVideoCallInConversation={onOutgoingVideoCallInConversation}
toggleDeleteMessagesModal={reducedProps.toggleDeleteMessagesModal}
returnToActiveCall={returnToActiveCall}
{...item.data}
/>