From 66bf3a705ae2a46df26a9c52c9f4bf4590075870 Mon Sep 17 00:00:00 2001 From: kshitij katiyar <90389917+Kshitij-Katiyar@users.noreply.github.com> Date: Wed, 20 Sep 2023 16:02:05 +0530 Subject: [PATCH] [MI-3501]: Fixed issue of Jira bot DM when you mention yourself in a comment --- 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 1dfe5448d..0405a2e2a 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 }