@@ -51,7 +51,8 @@ class Integrations::Widget::IncomingMessageBuilder
|
||||
account_id: conversation.account_id,
|
||||
inbox_id: conversation.inbox_id,
|
||||
message_type: 0,
|
||||
content: options[:content]
|
||||
content: options[:content],
|
||||
sender: contact
|
||||
}
|
||||
end
|
||||
end
|
||||
|
||||
@@ -46,7 +46,7 @@ class Integrations::Widget::OutgoingMessageBuilder
|
||||
inbox_id: @conversation.inbox_id,
|
||||
message_type: 1,
|
||||
content: options[:content],
|
||||
user_id: user.id
|
||||
sender: user
|
||||
}
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user