feat: Save in_reply_to from WhatsApp messages (#6964)

This commit is contained in:
Pranav Raj S
2023-04-23 18:28:14 -07:00
committed by GitHub
parent 3a35281b3f
commit 474e65f4c8
3 changed files with 23 additions and 8 deletions

View File

@@ -72,7 +72,7 @@ class Message < ApplicationRecord
# [:external_error : Can specify if the message creation failed due to an error at external API
store :content_attributes, accessors: [:submitted_email, :items, :submitted_values, :email, :in_reply_to, :deleted,
:external_created_at, :story_sender, :story_id, :external_error,
:translations], coder: JSON
:translations, :in_reply_to_external_id], coder: JSON
store :external_source_ids, accessors: [:slack], coder: JSON, prefix: :external_source_id