slack with template message link (#6811)

This commit is contained in:
Tejaswini Chile 2023-04-03 11:32:37 +05:30 committed by GitHub
parent ebc144683a
commit 44f73e044a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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