diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2019-11-04 04:59:09 +0800 |
---|---|---|
committer | zeripath <art27@cantab.net> | 2019-11-03 20:59:09 +0000 |
commit | 491887d44132b8103ed0d753f95ecd43d600adba (patch) | |
tree | 5b8f7e7584f914ba0bed06369ecfbaea37db44ae /modules/notification/notification.go | |
parent | 7971b05d2b96e45a4ee3954a39a7db9b9bbb807f (diff) | |
download | gitea-491887d44132b8103ed0d753f95ecd43d600adba.tar.gz gitea-491887d44132b8103ed0d753f95ecd43d600adba.zip |
Move actions to notification (#8785)
Diffstat (limited to 'modules/notification/notification.go')
-rw-r--r-- | modules/notification/notification.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/notification/notification.go b/modules/notification/notification.go index 6532f9d614..1fd3022940 100644 --- a/modules/notification/notification.go +++ b/modules/notification/notification.go @@ -7,6 +7,7 @@ package notification import ( "code.gitea.io/gitea/models" "code.gitea.io/gitea/modules/git" + "code.gitea.io/gitea/modules/notification/action" "code.gitea.io/gitea/modules/notification/base" "code.gitea.io/gitea/modules/notification/indexer" "code.gitea.io/gitea/modules/notification/mail" @@ -33,6 +34,7 @@ func NewContext() { } RegisterNotifier(indexer.NewNotifier()) RegisterNotifier(webhook.NewNotifier()) + RegisterNotifier(action.NewNotifier()) } // NotifyCreateIssueComment notifies issue comment related message to notifiers |