Include unreadMentionsCount as part of conversation props
This commit is contained in:
parent
975f43102e
commit
d169ce6799
1 changed files with 1 additions and 0 deletions
|
@ -222,6 +222,7 @@ export function getConversation(model: ConversationModel): ConversationType {
|
||||||
? window.i18n('icu:noteToSelf')
|
? window.i18n('icu:noteToSelf')
|
||||||
: getTitle(attributes),
|
: getTitle(attributes),
|
||||||
unreadCount: attributes.unreadCount || 0,
|
unreadCount: attributes.unreadCount || 0,
|
||||||
|
unreadMentionsCount: attributes.unreadMentionsCount || 0,
|
||||||
...(isDirectConversation(attributes)
|
...(isDirectConversation(attributes)
|
||||||
? {
|
? {
|
||||||
type: 'direct' as const,
|
type: 'direct' as const,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue