fix: validate instagram story only while saving the message (#6340)
This commit is contained in:
@@ -112,7 +112,6 @@ class Message < ApplicationRecord
|
||||
}
|
||||
)
|
||||
data.merge!(echo_id: echo_id) if echo_id.present?
|
||||
validate_instagram_story if instagram_story_mention?
|
||||
data.merge!(attachments: attachments.map(&:push_event_data)) if attachments.present?
|
||||
merge_sender_attributes(data)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user