chore: Fix integration hooks destroy method (#1224)

This commit is contained in:
Sojan Jose
2020-09-12 23:09:55 +05:30
committed by GitHub
parent fe3cb76a19
commit afc062537c
2 changed files with 3 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ class Integrations::Slack::SendOnSlackService < Base::SendOnChannelService
private
def valid_channel_for_slack?
# slack wouldn't be an idean interface to reply to tweets, hence disabling that case
# slack wouldn't be an ideal interface to reply to tweets, hence disabling that case
return false if channel.is_a?(Channel::TwitterProfile) && conversation.additional_attributes['type'] == 'tweet'
true