Clean up inviteLink handling, harden compose input

This commit is contained in:
Scott Nonnenberg 2021-05-06 12:06:20 -07:00 committed by GitHub
parent 986d8a66bc
commit fc12d02a8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 59 additions and 3 deletions

View file

@ -34,6 +34,7 @@ export type SmartForwardMessageModalProps = {
caretLocation?: number
) => unknown;
onTextTooLong: () => void;
setSecureInput: (enabled: boolean) => void;
};
const mapStateToProps = (
@ -48,6 +49,7 @@ const mapStateToProps = (
onClose,
onEditorStateChange,
onTextTooLong,
setSecureInput,
} = props;
const candidateConversations = getAllComposableConversations(state);
@ -68,6 +70,7 @@ const mapStateToProps = (
recentEmojis,
skinTone,
onTextTooLong,
setSecureInput,
};
};