mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
Multi-select forwarding and deleting
This commit is contained in:
@@ -88,6 +88,7 @@ export type PropsActionsType = {
|
||||
destroyMessages: (conversationId: string) => void;
|
||||
onArchive: (conversationId: string) => void;
|
||||
onMarkUnread: (conversationId: string) => void;
|
||||
toggleSelectMode: (on: boolean) => void;
|
||||
onMoveToInbox: (conversationId: string) => void;
|
||||
onOutgoingAudioCallInConversation: (conversationId: string) => void;
|
||||
onOutgoingVideoCallInConversation: (conversationId: string) => void;
|
||||
@@ -350,6 +351,7 @@ export class ConversationHeader extends React.Component<PropsType, StateType> {
|
||||
muteExpiresAt,
|
||||
onArchive,
|
||||
onMarkUnread,
|
||||
toggleSelectMode,
|
||||
onMoveToInbox,
|
||||
pushPanelForConversation,
|
||||
setDisappearingMessages,
|
||||
@@ -505,6 +507,13 @@ export class ConversationHeader extends React.Component<PropsType, StateType> {
|
||||
{i18n('markUnread')}
|
||||
</MenuItem>
|
||||
) : null}
|
||||
<MenuItem
|
||||
onClick={() => {
|
||||
toggleSelectMode(true);
|
||||
}}
|
||||
>
|
||||
{i18n('icu:ConversationHeader__menu__selectMessages')}
|
||||
</MenuItem>
|
||||
{isArchived ? (
|
||||
<MenuItem onClick={() => onMoveToInbox(id)}>
|
||||
{i18n('moveConversationToInbox')}
|
||||
|
||||
Reference in New Issue
Block a user