From 4777a90fa9986c47cc71c998f68dbd0a25d20401 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Fri, 12 Dec 2025 22:54:56 -0500 Subject: [PATCH] fix: hooks.unfurl check (#10884) --- plugins/slack/server/api/hooks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/slack/server/api/hooks.ts b/plugins/slack/server/api/hooks.ts index 88c59aeafb..2cb31d3fb3 100644 --- a/plugins/slack/server/api/hooks.ts +++ b/plugins/slack/server/api/hooks.ts @@ -96,7 +96,7 @@ router.post( if (commentId) { const comment = await Comment.findByPk(commentId as string); - if (!comment) { + if (!comment || comment.documentId !== doc.id) { continue; }