mirror of
https://github.com/discourse/discourse.git
synced 2025-02-26 07:38:40 +08: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.