Fixed contacts names not always displayed in chat rooms list
This commit is contained in:
parent
d7f2b629da
commit
7bd85a6f53
1 changed files with 1 additions and 1 deletions
|
@ -116,6 +116,6 @@ private class ChatRoomDiffCallback : DiffUtil.ItemCallback<ChatRoomViewModel>()
|
||||||
oldItem: ChatRoomViewModel,
|
oldItem: ChatRoomViewModel,
|
||||||
newItem: ChatRoomViewModel
|
newItem: ChatRoomViewModel
|
||||||
): Boolean {
|
): Boolean {
|
||||||
return newItem.unreadMessagesCount.value == 0
|
return false // To force redraw when contacts are updated
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue