Use sentCounter in CompositionInput to drop old draft updates
This commit is contained in:
parent
0e606c45b0
commit
4a18667ddf
8 changed files with 121 additions and 63 deletions
|
@ -86,6 +86,7 @@ const mapStateToProps = (state: StateType, props: ExternalProps) => {
|
|||
linkPreviewResult,
|
||||
messageCompositionId,
|
||||
quotedMessage,
|
||||
sendCounter,
|
||||
shouldSendHighQualityAttachments,
|
||||
} = composerStateForConversationIdSelector(id);
|
||||
|
||||
|
@ -102,6 +103,7 @@ const mapStateToProps = (state: StateType, props: ExternalProps) => {
|
|||
i18n: getIntl(state),
|
||||
isDisabled,
|
||||
messageCompositionId,
|
||||
sendCounter,
|
||||
theme: getTheme(state),
|
||||
|
||||
// AudioCapture
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue