Fix scrolling for contact in removalStage

This commit is contained in:
Fedor Indutny 2023-12-08 19:18:51 +01:00 committed by GitHub
parent 6b94c727fc
commit 5ff101e27a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -244,7 +244,10 @@ const mapStateToProps = (state: StateType, props: ExternalProps) => {
'typingContactIdTimestamps',
]),
isConversationSelected: state.conversations.selectedConversationId === id,
isIncomingMessageRequest: Boolean(!conversation.acceptedMessageRequest),
isIncomingMessageRequest: Boolean(
!conversation.acceptedMessageRequest &&
conversation.removalStage !== 'justNotification'
),
isSomeoneTyping: Boolean(
Object.keys(conversation.typingContactIdTimestamps ?? {}).length > 0
),