From 90a1cea5159300b8d34aa8f92496075ab5efaa8e Mon Sep 17 00:00:00 2001 From: John Preston Date: Sun, 29 Mar 2020 13:35:14 +0400 Subject: [PATCH] Fix forwarded dice size. Fixes #7472. --- Telegram/SourceFiles/history/view/media/history_view_dice.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Telegram/SourceFiles/history/view/media/history_view_dice.cpp b/Telegram/SourceFiles/history/view/media/history_view_dice.cpp index f753d434ad..c4ee34d96b 100644 --- a/Telegram/SourceFiles/history/view/media/history_view_dice.cpp +++ b/Telegram/SourceFiles/history/view/media/history_view_dice.cpp @@ -30,10 +30,9 @@ Dice::Dice(not_null parent, not_null dice) , _dice(dice) , _start(parent, Lookup(parent, 0)) { _showLastFrame = _parent->data()->Has(); + _start.setDiceIndex(0); if (_showLastFrame) { _drawingEnd = true; - } else { - _start.setDiceIndex(0); } }