Multi-select forwarding and deleting

This commit is contained in:
Jamie Kyle 2023-03-20 15:23:53 -07:00 committed by GitHub
parent d986356eea
commit 1d549a9991
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
82 changed files with 2607 additions and 991 deletions

View file

@ -19,6 +19,8 @@ import { getEmojiSkinTone } from '../selectors/items';
import {
getConversationSelector,
getGroupAdminsSelector,
getLastSelectedMessage,
getSelectedMessageIds,
isMissingRequiredProfileSharing,
} from '../selectors/conversations';
import { getPropsForQuote } from '../selectors/message';
@ -89,6 +91,9 @@ const mapStateToProps = (state: StateType, props: ExternalProps) => {
const recentEmojis = selectRecentEmojis(state);
const selectedMessageIds = getSelectedMessageIds(state);
const lastSelectedMessage = getLastSelectedMessage(state);
return {
// Base
conversationId: id,
@ -160,6 +165,10 @@ const mapStateToProps = (state: StateType, props: ExternalProps) => {
) => {
return <SmartCompositionRecordingDraft {...draftProps} />;
},
// Select Mode
selectedMessageIds,
lastSelectedMessage,
};
};