Feature: Add ability to disable auto assignment of conversations (#513)
This commit is contained in:
@@ -151,6 +151,7 @@ class Conversation < ApplicationRecord
|
||||
def run_round_robin
|
||||
# return unless conversation.account.has_feature?(round_robin)
|
||||
# return unless conversation.account.round_robin_enabled?
|
||||
return unless inbox.enable_auto_assignment
|
||||
return if assignee
|
||||
|
||||
inbox.next_available_agent.then { |new_assignee| update_assignee(new_assignee) }
|
||||
|
||||
Reference in New Issue
Block a user