chore: Add open conversation option (#11828)
Added conversation_status, assignee_id, team_id, and priority to the message_created event to allow users to build automations based on conversation details. Also introduced a new open_conversation action. --------- Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
This commit is contained in:
@@ -18,6 +18,10 @@ class ActionService
|
||||
@conversation.resolved!
|
||||
end
|
||||
|
||||
def open_conversation(_params)
|
||||
@conversation.open!
|
||||
end
|
||||
|
||||
def change_status(status)
|
||||
@conversation.update!(status: status[0])
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user