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
|
@Override
|
||||||
public boolean areContentsTheSame(int oldItemPosition, int newItemPosition) {
|
public boolean areContentsTheSame(int oldItemPosition, int newItemPosition) {
|
||||||
return newChatRooms.get(newItemPosition).getUnreadMessagesCount() > 0;
|
return newChatRooms.get(newItemPosition).getUnreadMessagesCount() == 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue