Message Requests: Always open to top of conversation

This commit is contained in:
Scott Nonnenberg 2021-04-30 15:59:37 -07:00 committed by GitHub
parent fe772af251
commit cf1eb77ed8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 128 additions and 47 deletions

View file

@ -157,6 +157,10 @@ const mapStateToProps = (state: StateType, props: ExternalProps) => {
'typingContact',
'isGroupV1AndDisabled',
]),
isIncomingMessageRequest: Boolean(
conversation.messageRequestsEnabled &&
!conversation.acceptedMessageRequest
),
...conversationMessages,
invitedContactsForNewlyCreatedGroup: getInvitedContactsForNewlyCreatedGroup(
state