Disable check for reauthorization

This commit is contained in:
Pranav Raj S 2022-05-30 12:20:10 +05:30
parent 3128529d84
commit b68f2e9c92

View file

@ -17,7 +17,7 @@ class Inboxes::FetchImapEmailsJob < ApplicationJob
private private
def should_fetch_email?(channel) def should_fetch_email?(channel)
channel.imap_enabled? && !channel.reauthorization_required? channel.imap_enabled?
end end
def process_mail_for_channel(channel) def process_mail_for_channel(channel)