fix review changes

This commit is contained in:
Tanmay Sharma
2025-08-29 14:49:13 +07:00
parent 199a55a8e3
commit ca14eba448
8 changed files with 31 additions and 67 deletions
@@ -14,7 +14,7 @@ module AutoAssignmentHandler
return unless conversation_status_changed_to_open?
return unless should_run_auto_assignment?
if inbox.auto_assignment_enabled?
if inbox.auto_assignment_v2_enabled?
# Use new assignment system
AutoAssignment::AssignmentJob.perform_later(inbox_id: inbox.id)
else
+1 -1
View File
@@ -191,7 +191,7 @@ class Inbox < ApplicationRecord
members.ids
end
def auto_assignment_enabled?
def auto_assignment_v2_enabled?
account.feature_enabled?('assignment_v2') && assignment_policy.present? && assignment_policy.enabled?
end