Include unreadMentionsCount as part of conversation props

This commit is contained in:
trevor-signal 2023-06-13 13:09:09 -04:00 committed by GitHub
parent 975f43102e
commit d169ce6799
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -222,6 +222,7 @@ export function getConversation(model: ConversationModel): ConversationType {
? window.i18n('icu:noteToSelf')
: getTitle(attributes),
unreadCount: attributes.unreadCount || 0,
unreadMentionsCount: attributes.unreadMentionsCount || 0,
...(isDirectConversation(attributes)
? {
type: 'direct' as const,