bastodon/config/initializers/delivery_job.rb

3 lines
89 B
Ruby

ActionMailer::DeliveryJob.class_eval do
discard_on ActiveJob::DeserializationError
end