mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
7a586e680c
Poll::countTopMediaHeight() used width() which returns 0 during first countOptimalSize()/countCurrentSize() call (Object sets _width only after these return). This made photo height = max(1, negative) = 1px.