fix(StatusChatList): use fallback property to determine unread message count
This commit is contained in:
parent
11bac6ecfd
commit
c62e459deb
|
@ -47,9 +47,9 @@ Column {
|
||||||
name: model.name
|
name: model.name
|
||||||
type: model.chatType
|
type: model.chatType
|
||||||
muted: !!model.muted
|
muted: !!model.muted
|
||||||
hasUnreadMessages: !!model.hasUnreadMessages
|
hasUnreadMessages: !!model.hasUnreadMessages || model.unviewedMessagesCount > 0
|
||||||
hasMention: !!model.hasMention
|
hasMention: !!model.hasMention
|
||||||
badge.value: model.unreadMessagesCount || 0
|
badge.value: model.unviewedMessagesCount || 0
|
||||||
selected: (model.chatId || model.id) === statusChatList.selectedChatId
|
selected: (model.chatId || model.id) === statusChatList.selectedChatId
|
||||||
|
|
||||||
icon.color: model.color || ""
|
icon.color: model.color || ""
|
||||||
|
|
Loading…
Reference in New Issue