From b9d1fb6de32613ada3869d2a9692cb078ed48534 Mon Sep 17 00:00:00 2001 From: Daniel Grier Date: Sat, 20 Apr 2019 00:18:06 +1000 Subject: Add support for MS Teams webhooks (#6632) --- modules/setting/webhook.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/setting') diff --git a/modules/setting/webhook.go b/modules/setting/webhook.go index 0d91e7d9e7..b0e7d66ad2 100644 --- a/modules/setting/webhook.go +++ b/modules/setting/webhook.go @@ -25,6 +25,6 @@ func newWebhookService() { Webhook.QueueLength = sec.Key("QUEUE_LENGTH").MustInt(1000) Webhook.DeliverTimeout = sec.Key("DELIVER_TIMEOUT").MustInt(5) Webhook.SkipTLSVerify = sec.Key("SKIP_TLS_VERIFY").MustBool() - Webhook.Types = []string{"gitea", "gogs", "slack", "discord", "dingtalk", "telegram"} + Webhook.Types = []string{"gitea", "gogs", "slack", "discord", "dingtalk", "telegram", "msteams"} Webhook.PagingNum = sec.Key("PAGING_NUM").MustInt(10) } -- cgit v1.2.3