Multi-select forwarding and deleting
This commit is contained in:
parent
d986356eea
commit
1d549a9991
82 changed files with 2607 additions and 991 deletions
|
@ -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')}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue