From 9d0d8a3ff8deca2e868e04659aaf86bab1f0b6ba Mon Sep 17 00:00:00 2001 From: A6sT Date: Thu, 27 Aug 2026 16:20:12 +0200 Subject: [PATCH] Fixed private comments triggering public notifications / webhook --- handlers/ranking_comments.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/ranking_comments.go b/handlers/ranking_comments.go index 49233cf..ea3e99f 100644 --- a/handlers/ranking_comments.go +++ b/handlers/ranking_comments.go @@ -136,7 +136,7 @@ func addRankingQueueComment(c *gin.Context, action db.RankingQueueAction, isPriv return APIErrorServerError("Error inserting comment into DB", err) } - if action == db.RankingQueueActionComment { + if action == db.RankingQueueActionComment && !isPrivate { if err := db.NewMapsetActionNotification(queueMapset.Mapset, comment).Insert(); err != nil { return APIErrorServerError("Error inserting comment notification", err) }