From 44f73e044ab3e44927ce20172064f49581670fe1 Mon Sep 17 00:00:00 2001 From: Tejaswini Chile Date: Mon, 3 Apr 2023 11:32:37 +0530 Subject: [PATCH] slack with template message link (#6811) --- lib/integrations/slack/send_on_slack_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/integrations/slack/send_on_slack_service.rb b/lib/integrations/slack/send_on_slack_service.rb index d22757f5d..1f9a5fbb8 100644 --- a/lib/integrations/slack/send_on_slack_service.rb +++ b/lib/integrations/slack/send_on_slack_service.rb @@ -24,7 +24,7 @@ class Integrations::Slack::SendOnSlackService < Base::SendOnChannelService end def invalid_message? - (message.outgoing? && conversation.identifier.blank?) || !message.slack_hook_sendable? + (message.outgoing? || message.template?) && conversation.identifier.blank? end def perform_reply