Adds keyboard shortcut for editing last message sent
This commit is contained in:
parent
a1fd4e55ee
commit
216ee67c50
13 changed files with 675 additions and 550 deletions
|
@ -25,6 +25,7 @@ import { getEmojiSkinTone, getTextFormattingEnabled } from '../selectors/items';
|
|||
import {
|
||||
getConversationSelector,
|
||||
getGroupAdminsSelector,
|
||||
getLastEditableMessageId,
|
||||
getSelectedMessageIds,
|
||||
getTargetedConversationsPanelsCount,
|
||||
isMissingRequiredProfileSharing,
|
||||
|
@ -126,6 +127,8 @@ const mapStateToProps = (state: StateType, props: ExternalProps) => {
|
|||
const isFormattingSpoilersFlagEnabled =
|
||||
getIsFormattingSpoilersFlagEnabled(state);
|
||||
|
||||
const lastEditableMessageId = getLastEditableMessageId(state);
|
||||
|
||||
return {
|
||||
// Base
|
||||
conversationId: id,
|
||||
|
@ -137,6 +140,7 @@ const mapStateToProps = (state: StateType, props: ExternalProps) => {
|
|||
isFormattingEnabled,
|
||||
isFormattingFlagEnabled,
|
||||
isFormattingSpoilersFlagEnabled,
|
||||
lastEditableMessageId,
|
||||
messageCompositionId,
|
||||
platform,
|
||||
sendCounter,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue