diff --git a/Handler/ShowChallenge.hs b/Handler/ShowChallenge.hs index a4e9adf..7f972bb 100644 --- a/Handler/ShowChallenge.hs +++ b/Handler/ShowChallenge.hs @@ -346,6 +346,7 @@ doCreateSubmission userId challengeId mDescription mTags repoSpec chan = do ++ " :clap:") msg chan message case appNewBestResultSlackHook $ appSettings app of + Just "" -> return () Just hook -> liftIO $ runSlackHook hook message Nothing -> return ()