From c20fcb5529ade70ef0d263886f5438e5cbbb0b2e Mon Sep 17 00:00:00 2001 From: Vinay Keerthi <11478411+stonecharioteer@users.noreply.github.com> Date: Wed, 17 Dec 2025 19:41:07 +0530 Subject: [PATCH] fix: disable AbcSize for `create_message` --- app/mailboxes/mailbox_helper.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/mailboxes/mailbox_helper.rb b/app/mailboxes/mailbox_helper.rb index 3342775be..aad27a952 100644 --- a/app/mailboxes/mailbox_helper.rb +++ b/app/mailboxes/mailbox_helper.rb @@ -1,6 +1,7 @@ module MailboxHelper private + # rubocop:disable Metrics/AbcSize def create_message Rails.logger.info "[MailboxHelper] Creating message #{processed_mail.message_id}" return if @conversation.messages.find_by(source_id: processed_mail.message_id).present? @@ -21,6 +22,7 @@ module MailboxHelper } ) end + # rubocop:enable Metrics/AbcSize def add_attachments_to_message return if @message.blank?