Skip to content

Commit

Permalink
Les invitations ne changent plus le status des demandes (#2082)
Browse files Browse the repository at this point in the history
  • Loading branch information
niladic authored Sep 30, 2024
1 parent 706b865 commit a7ced36
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions app/models/Application.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down

0 comments on commit a7ced36

Please sign in to comment.