mirror of
https://github.com/discourse/discourse.git
synced 2026-08-02 09:29:37 -05:00
When calculating whether the attached uploads went over the SiteSetting.email_total_attachment_size_limit_kb.kilobytes limit, we were using the original_upload for the calculation instead of the actually attached_upload, which will be smaller in most cases because it can be an optimized image.