Skip to content

Notifications Triggered Twice For Issue Assignees #9578

@giteaUser

Description

@giteaUser

Description

When assigning users to issues, email and web hook notifications are triggered twice:

This line:
https://github.com/go-gitea/gitea/blob/master/routers/repo/issue.go#L1180

Calls this notification:
https://github.com/go-gitea/gitea/blob/master/services/issue/assignee.go#L50

Then after it returns, it again calls this notification:
https://github.com/go-gitea/gitea/blob/master/routers/repo/issue.go#L1186

This requires a similar fix to #9375
...

Screenshots

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions