mirror of
https://github.com/discourse/discourse.git
synced 2025-02-17 08:45:05 +00:00
Previously we would unconditionally fetch all images via HTTP to grab original sizing from cooked post processor in 2 different spots. This was wasteful as we already calculate and cache this info in upload records. This also simplifies some specs and reduces use of mocks.