feat: hide CSAT survey URLs from agents in dashboard (#11622)

This commit is contained in:
Muhsin Keloth
2025-06-11 23:39:47 +05:30
committed by GitHub
parent 5745a55db5
commit f627dbe42d
15 changed files with 148 additions and 46 deletions

View File

@@ -34,7 +34,7 @@ class Channel::Sms < ApplicationRecord
end
def send_message(contact_number, message)
body = message_body(contact_number, message.content)
body = message_body(contact_number, message.outgoing_content)
body['media'] = message.attachments.map(&:download_url) if message.attachments.present?
send_to_bandwidth(body, message)