mirror of
https://github.com/discourse/discourse.git
synced 2025-03-22 14:27:58 +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.