fix monitor type

pull/8513/head
Thibault Duplessis 2021-03-30 15:06:40 +02:00
parent 491358ace2
commit 2a505270d4
1 changed files with 1 additions and 1 deletions

View File

@ -297,7 +297,7 @@ final class ModlogApi(repo: ModlogRepo, userRepo: UserRepo, slackApi: SlackApi)(
SlackApi.MonitorType.Hunt
case M.troll | M.untroll | M.chatTimeout | M.closeTopic | M.openTopic | M.disableTeam |
M.enableTeam =>
SlackApi.MonitorType.Hunt
SlackApi.MonitorType.Comm
case _ => SlackApi.MonitorType.Other
}
slackApi.monitorMod(m.mod, icon = icon, text = text, monitorType)