diff --git a/OutOfSchool/OutOfSchool.WebApi/Services/Database/WorkshopService.cs b/OutOfSchool/OutOfSchool.WebApi/Services/Database/WorkshopService.cs index 8f985a4e8b..27f901eb26 100644 --- a/OutOfSchool/OutOfSchool.WebApi/Services/Database/WorkshopService.cs +++ b/OutOfSchool/OutOfSchool.WebApi/Services/Database/WorkshopService.cs @@ -275,8 +275,7 @@ public async Task> GetByProviderId(Guid i var chatrooms = roomRepository.Get( skip: 0, take: 0, - includeProperties: "ChatMessages", - x => x.ChatMessages.Any(x => x.ReadDateTime == null && !x.SenderRoleIsProvider)); + includeProperties: "ChatMessages"); var workshopProviderViewCards = mapper.Map>(workshops);