Scroll to bottom of conversation on message send

This commit is contained in:
Scott Nonnenberg
2021-11-02 19:00:54 -07:00
committed by GitHub
parent 254c87a1ac
commit 5bd7eda124
13 changed files with 107 additions and 21 deletions

View File

@@ -17,6 +17,7 @@ import type { AttachmentType } from '../../types/Attachment';
export type SmartForwardMessageModalProps = {
attachments?: Array<AttachmentType>;
conversationId: string;
doForwardMessage: (
selectedContacts: Array<string>,
messageBody?: string,
@@ -40,6 +41,7 @@ const mapStateToProps = (
): DataPropsType => {
const {
attachments,
conversationId,
doForwardMessage,
isSticker,
messageBody,
@@ -56,6 +58,7 @@ const mapStateToProps = (
return {
attachments,
candidateConversations,
conversationId,
doForwardMessage,
i18n: getIntl(state),
isSticker,