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
def should_fetch_email?(channel)
channel.imap_enabled? && !channel.reauthorization_required?
channel.imap_enabled?
end
def process_mail_for_channel(channel)