feat: hide CSAT survey URLs from agents in dashboard (#11622)
This commit is contained in:
@@ -37,7 +37,7 @@ class Twitter::SendOnTwitterService < Base::SendOnChannelService
|
||||
def send_direct_message
|
||||
twitter_client.send_direct_message(
|
||||
recipient_id: contact_inbox.source_id,
|
||||
message: message.content
|
||||
message: message.outgoing_content
|
||||
)
|
||||
end
|
||||
|
||||
@@ -52,7 +52,7 @@ class Twitter::SendOnTwitterService < Base::SendOnChannelService
|
||||
def send_tweet_reply
|
||||
response = twitter_client.send_tweet_reply(
|
||||
reply_to_tweet_id: reply_to_message.source_id,
|
||||
tweet: "#{screen_name} #{message.content}"
|
||||
tweet: "#{screen_name} #{message.outgoing_content}"
|
||||
)
|
||||
if response.status == '200'
|
||||
tweet_data = response.body
|
||||
|
||||
Reference in New Issue
Block a user