bastodon/config/initializers/mail_delivery_job.rb

5 lines
124 B
Ruby

# frozen_string_literal: true
ActionMailer::MailDeliveryJob.class_eval do
discard_on ActiveJob::DeserializationError
end