Skip to content

A platform for community discussion. Free, open, simple.

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

David Battersbyf75dd1b43a4d
diff --git a/plugins/chat/app/services/chat/create_message.rb b/plugins/chat/app/services/chat/create_message.rb
index f75e30a4c39..f1048b76442 100644
--- a/plugins/chat/app/services/chat/create_message.rb
+++ b/plugins/chat/app/services/chat/create_message.rb
@@ -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