Delivery Issues: Show simpler message when displayed in a group

This commit is contained in:
Scott Nonnenberg 2021-07-27 13:30:41 -07:00 committed by GitHub
parent 85004699f5
commit 114a9b6969
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 48 additions and 5 deletions

View file

@ -857,9 +857,11 @@ function getPropsForDeliveryIssue(
conversationSelector: GetConversationByIdType
): DeliveryIssuePropsType {
const sender = conversationSelector(message.sourceUuid);
const conversation = conversationSelector(message.conversationId);
return {
sender,
inGroup: conversation.type === 'group',
};
}