mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-30 02:09:20 +00:00
Fixed chat room refreshing issue
This commit is contained in:
parent
2ba9b1a8bb
commit
f31fdb0fd2
1 changed files with 1 additions and 1 deletions
|
|
@ -122,7 +122,7 @@ public class ChatRoomsAdapter extends SelectableAdapter<ChatRoomViewHolder> {
|
|||
|
||||
@Override
|
||||
public boolean areContentsTheSame(int oldItemPosition, int newItemPosition) {
|
||||
return newChatRooms.get(newItemPosition).getUnreadMessagesCount() > 0;
|
||||
return newChatRooms.get(newItemPosition).getUnreadMessagesCount() == 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue