mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-25 11:22:16 +00:00
Fix #165
This commit is contained in:
parent
8bfa7ae745
commit
ad5ec45dd6
25 changed files with 484 additions and 450 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue