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

@ -58,6 +58,7 @@ const getCommonProps = (options: {
mode === CallMode.Group ? getDefaultGroup() : getDefaultConversation();
return {
id: 'message-id',
conversationId: conversation.id,
i18n,
isNextItemCallingNotification: false,
@ -67,6 +68,7 @@ const getCommonProps = (options: {
onOutgoingVideoCallInConversation: action(
'onOutgoingVideoCallInConversation'
),
toggleDeleteMessagesModal: action('toggleDeleteMessagesModal'),
returnToActiveCall: action('returnToActiveCall'),
callHistory: {
callId: '123',
@ -83,6 +85,8 @@ const getCommonProps = (options: {
groupCallEnded,
maxDevices,
deviceCount,
isSelectMode: false,
isTargeted: false,
};
};