mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Fix #165
This commit is contained in:
@@ -192,7 +192,7 @@ func CollaborationPost(ctx *middleware.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
if setting.Service.NotifyMail {
|
||||
if setting.Service.EnableNotifyMail {
|
||||
if err = mailer.SendCollaboratorMail(ctx.Render, u, ctx.User, ctx.Repo.Repository); err != nil {
|
||||
ctx.Handle(500, "setting.CollaborationPost(SendCollaboratorMail)", err)
|
||||
return
|
||||
|
Reference in New Issue
Block a user