Add contextMenu for deleting call events on right-click
This commit is contained in:
parent
7fb01f102d
commit
88fd42a46b
12 changed files with 394 additions and 269 deletions
|
@ -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,
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue