From 3f7e52bcc42c7695364d12bb58019afcc9338dfc Mon Sep 17 00:00:00 2001 From: kshitij katiyar <90389917+Kshitij-Katiyar@users.noreply.github.com> Date: Mon, 9 Sep 2024 22:26:52 +0530 Subject: [PATCH] [MI-3501]: Fixed issue of Jira bot DM when you mention yourself in a comment (#973) Co-authored-by: raghavaggarwal2308 --- server/webhook_parser.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/webhook_parser.go b/server/webhook_parser.go index 6263a6069..7bc78cfd4 100644 --- a/server/webhook_parser.go +++ b/server/webhook_parser.go @@ -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 }