summaryrefslogtreecommitdiffstats
path: root/modules/notification/notification.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/notification/notification.go')
-rw-r--r--modules/notification/notification.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/notification/notification.go b/modules/notification/notification.go
index 3f3579394e..6f482e8819 100644
--- a/modules/notification/notification.go
+++ b/modules/notification/notification.go
@@ -8,6 +8,7 @@ import (
"code.gitea.io/git"
"code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/notification/base"
+ "code.gitea.io/gitea/modules/notification/mail"
"code.gitea.io/gitea/modules/notification/ui"
)
@@ -23,6 +24,7 @@ func RegisterNotifier(notifier base.Notifier) {
func init() {
RegisterNotifier(ui.NewNotifier())
+ RegisterNotifier(mail.NewNotifier())
}
// NotifyCreateIssueComment notifies issue comment related message to notifiers