d78cb67a2a
- fix the wrong conversation status being sent in webhooks - additional information in websocket events - refactor activity messaging code - move activity message generation to background job to stop the callback loop
7 lines
181 B
Ruby
7 lines
181 B
Ruby
class Conversations::ActivityMessageJob < ApplicationJob
|
|
queue_as :default
|
|
|
|
def perform(conversation, message_params)
|
|
conversation.messages.create(message_params)
|
|
end
|
|
end
|