feat: extending lock to single conversation to meta inbox (#9104)
This change introduces the ability to lock conversations to a single thread for Instagram and facebook messages within the Meta inbox, mirroring existing functionality in WhatsApp and SMS inboxes. Co-authored-by: Shivam Mishra <scm.mymail@gmail.com>
This commit is contained in:
committed by
GitHub
parent
6b7a707fef
commit
e21d7552d3
@@ -11,6 +11,21 @@ FactoryBot.define do
|
||||
initialize_with { attributes }
|
||||
end
|
||||
|
||||
factory :mocked_message_text, class: Hash do
|
||||
transient do
|
||||
sender_id { '3383290475046708' }
|
||||
end
|
||||
|
||||
initialize_with do
|
||||
{ messaging: { sender: { id: sender_id },
|
||||
recipient: { id: '117172741761305' },
|
||||
message: { mid: 'm_KXGKDUpO6xbVdAmZFBVpzU1AhKVJdAIUnUH4cwkvb_K3iZsWhowDRyJ_DcowEpJjncaBwdCIoRrixvCbbO1PcA',
|
||||
text: 'facebook message' } } }
|
||||
end
|
||||
|
||||
# initialize_with { attributes }
|
||||
end
|
||||
|
||||
factory :message_deliveries, class: Hash do
|
||||
messaging do
|
||||
{ sender: { id: '3383290475046708' },
|
||||
|
||||
Reference in New Issue
Block a user