Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send mail to issue/pr assignee/reviewer also when OnMention is set (#18707) #18765

Merged
merged 1 commit into from
Feb 14, 2022

Commits on Feb 14, 2022

  1. Send mail to issue/pr assignee/reviewer also when OnMention is set (g…

    …o-gitea#18707)
    
    Backport go-gitea#18707
    
    Addresses go-gitea#17892, where emails notifications are not sent to assignees (issue and PR) and reviewers (PR) when they have the email setting Only email on mention enabled.
    
    From the user experience perspective, when a user gets a issue/PR assigned or a PR review request, he/she would expect to be implicitly mentioned since the assignment or request is personal and targeting a single person only. Thus I see go-gitea#17892 as a bug. Could we therefore mark this ticket as such?
    
    The changed code just explicitly checks for the EmailNotificationsOnMention setting beside the existing EmailNotificationsEnabled check. Too rude?
    
    @lunny mentioned a mock mail server for tests, is there something ready. How could I make use of it?
    
    See go-gitea#12774 (comment)
    
    Fix go-gitea#17892
    flozzone authored and zeripath committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    e199b64 View commit details
    Browse the repository at this point in the history