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 (#973)

Co-authored-by: raghavaggarwal2308 <raghav.aggarwal@brightscout.com>
  • Loading branch information
Kshitij-Katiyar and raghavaggarwal2308 authored Sep 9, 2024
1 parent 1c92ba8 commit 3f7e52b
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 3f7e52b

Please sign in to comment.