Skip to content

Commit

Permalink
[MI-3501]: Fixed issue of Jira bot DM when you mention yourself in a …
Browse files Browse the repository at this point in the history
…comment
  • Loading branch information
Kshitij-Katiyar authored Sep 20, 2023
1 parent d2183a1 commit 66bf3a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/webhook_parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ func appendCommentNotifications(wh *webhook, verb string) {
}

// don't mention the author of the comment
if u == jwh.User.Name || u == jwh.User.AccountID {
if u == jwh.User.Name || u == jwh.User.AccountID || u == jwh.Comment.Author.AccountID {
continue
}

Expand Down

0 comments on commit 66bf3a7

Please sign in to comment.