mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-05-31 07:08:06 +08:00
Add ActionCommentPull action (#9456)
* Add ActionCommentPull action Adds ActionCommentPull action to distinguish between a comment on an issue and on a pull request * Update modules/notification/action/action.go Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
@ -548,7 +548,7 @@ func ActionIcon(opType models.ActionType) string {
|
||||
return "issue-opened"
|
||||
case models.ActionCreatePullRequest:
|
||||
return "git-pull-request"
|
||||
case models.ActionCommentIssue:
|
||||
case models.ActionCommentIssue, models.ActionCommentPull:
|
||||
return "comment-discussion"
|
||||
case models.ActionMergePullRequest:
|
||||
return "git-merge"
|
||||
|
Reference in New Issue
Block a user