FIX: update order of chat message service steps (#27889)

A change made in #27875 added a new step to the create message service, however the step should have been placed before saving the message.
This commit is contained in:
David Battersby 2024-07-12 11:56:07 +04:00 committed by GitHub
parent 4a365bc4a2
commit f75dd1b43a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -38,13 +38,13 @@ module Chat
transaction do
step :create_excerpt
step :update_created_by_sdk
step :save_message
step :delete_drafts
step :post_process_thread
step :create_webhook_event
step :update_channel_last_message
step :update_membership_last_read
step :update_created_by_sdk
step :process_direct_message_channel
end
step :publish_new_thread