diff --git a/app/models/Application.scala b/app/models/Application.scala index a43973ec..114041c6 100644 --- a/app/models/Application.scala +++ b/app/models/Application.scala @@ -84,12 +84,7 @@ case class Application( } def userAnswers: List[Answer] = answers.filter(answer => - !answer.message.contains("rejoins la conversation automatiquement comme expert") && - !answer.message - .contains("Les nouveaux instructeurs rejoignent automatiquement la demande") && - !answer.message.contains( - "Les nouveaux instructeurs ont automatiquement accès à la demande" - ) && + answer.answerType =!= AnswerType.InviteByUser && answer.answerType =!= AnswerType.InviteAsExpert && answer.answerType =!= AnswerType.InviteThroughGroupPermission )