override fun buildProblemsMuted()

in src/main/kotlin/jetbrains/buildServer/notification/slackNotifier/notification/PlainMessageBuilder.kt [219:231]


    override fun buildProblemsMuted(
            buildProblems: Collection<BuildProblemInfo?>,
            muteInfo: MuteInfo
    ): MessagePayload {
        val user = detailsFormatter.userName(muteInfo)
        val project = detailsFormatter.projectName(muteInfo)

        return if (user == null) {
            MessagePayload("${buildProblems.size} problems were muted in $project")
        } else {
            MessagePayload("$user muted ${buildProblems.size} problems in $project")
        }
    }