fix(agent-bot): address rubocop offenses in assignee_changed handler

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Muhsin
2026-04-02 10:53:09 +04:00
co-authored by Claude Opus 4.6
parent 40d00d895d
commit 287a75b524
+1 -2
View File
@@ -17,9 +17,8 @@ class AgentBotListener < BaseListener
def assignee_changed(event)
conversation = extract_conversation_and_account(event)[0]
return unless conversation.assignee_agent_bot.present?
return if conversation.assignee_agent_bot.blank?
conversation.inbox
payload = conversation.webhook_data.merge(event: __method__.to_s)
process_webhook_bot_event(conversation.assignee_agent_bot, payload)
end