override fun buildProblemsUnmuted()

in src/main/kotlin/jetbrains/buildServer/notification/slackNotifier/notification/PlainMessageBuilder.kt [233:245]


    override fun buildProblemsUnmuted(
            buildProblems: Collection<BuildProblemInfo?>,
            muteInfo: MuteInfo,
            user: SUser?
    ): MessagePayload {
        val username = detailsFormatter.userName(muteInfo)
        val project = detailsFormatter.projectName(muteInfo)
        return if (username == null) {
            MessagePayload("${buildProblems.size} problems were unmuted in $project.")
        } else {
            MessagePayload("$username unmuted ${buildProblems.size} problems in $project.")
        }
    }