fix(StatusChatList): use fallback property to determine unread message count

This commit is contained in:
Pascal Precht 2021-06-30 12:36:37 +02:00 committed by Pascal Precht
parent 3b11a1a81c
commit f7f217ed22
1 changed files with 2 additions and 2 deletions

View File

@ -47,9 +47,9 @@ Column {
name: model.name
type: model.chatType
muted: !!model.muted
hasUnreadMessages: !!model.hasUnreadMessages
hasUnreadMessages: !!model.hasUnreadMessages || model.unviewedMessagesCount > 0
hasMention: !!model.hasMention
badge.value: model.unreadMessagesCount || 0
badge.value: model.unviewedMessagesCount || 0
selected: (model.chatId || model.id) === statusChatList.selectedChatId
icon.color: model.color || ""