chore: Minor fix
This commit is contained in:
@@ -148,7 +148,7 @@ class Messages::ForwardedMessageBuilder
|
||||
end
|
||||
|
||||
def basic_attributes
|
||||
{ content_attributes: { forwarded_message_id: @message_id, is_forwarded_message: true } }
|
||||
{ content_attributes: { forwarded_message_id: @message_id } }
|
||||
end
|
||||
|
||||
def formatted_info
|
||||
|
||||
@@ -101,10 +101,9 @@ class Message < ApplicationRecord
|
||||
# [:deleted] : Used to denote whether the message was deleted by the agent
|
||||
# [:external_created_at] : Can specify if the message was created at a different timestamp externally
|
||||
# [:external_error : Can specify if the message creation failed due to an error at external API
|
||||
# [:is_forwarded_message] : Used to indicate that a message is a forwarded message
|
||||
store :content_attributes, accessors: [:submitted_email, :items, :submitted_values, :email, :in_reply_to, :deleted,
|
||||
:external_created_at, :story_sender, :story_id, :external_error,
|
||||
:translations, :in_reply_to_external_id, :is_unsupported, :is_forwarded_message], coder: JSON
|
||||
:translations, :in_reply_to_external_id, :is_unsupported], coder: JSON
|
||||
|
||||
store :external_source_ids, accessors: [:slack], coder: JSON, prefix: :external_source_id
|
||||
|
||||
|
||||
Reference in New Issue
Block a user