On link, ensure group conversations are shown in search

This commit is contained in:
trevor-signal 2024-12-10 13:04:00 -05:00 committed by GitHub
parent 402b256c66
commit 9722ef5672
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 16 additions and 3 deletions

View file

@ -195,6 +195,7 @@ export function getConversation(model: ConversationModel): ConversationType {
markedUnread: attributes.markedUnread,
membersCount: getMembersCount(attributes),
memberships: getMemberships(attributes),
messagesDeleted: Boolean(attributes.messagesDeleted),
hasMessages: (attributes.messageCount ?? 0) > 0,
pendingMemberships: getPendingMemberships(attributes),
pendingApprovalMemberships: getPendingApprovalMemberships(attributes),