mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-14 01:35:55 +09:00
permission
This commit is contained in:
1 parent
d17a0b13f1
commit
3e8de17db3
2 files changed
+15
No files matched your search
@@ -143,6 +143,9 @@ func NotifyNewPullRequest(ctx context.Context, pr *issues_model.PullRequest, men
|
||||
log.Error("%v", err)
|
||||
return
|
||||
}
|
||||
if err := pr.Issue.LoadPoster(ctx); err != nil {
|
||||
return
|
||||
}
|
||||
if pr.Issue.Poster.IsBots() {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user