From a142a2717ca8cac10ab8452a1be64a88c65a6643 Mon Sep 17 00:00:00 2001 From: John Preston Date: Sun, 23 Dec 2018 20:37:32 +0400 Subject: [PATCH] Fix no votes label. --- Telegram/SourceFiles/history/media/history_media_poll.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/history/media/history_media_poll.cpp b/Telegram/SourceFiles/history/media/history_media_poll.cpp index 1914ed22d..5bc135b24 100644 --- a/Telegram/SourceFiles/history/media/history_media_poll.cpp +++ b/Telegram/SourceFiles/history/media/history_media_poll.cpp @@ -308,7 +308,7 @@ void HistoryPoll::updateVotesCheckAnimations() const { } void HistoryPoll::updateTotalVotes() const { - if (_totalVotes == _poll->totalVoters) { + if (_totalVotes == _poll->totalVoters && !_totalVotesLabel.isEmpty()) { return; } _totalVotes = _poll->totalVoters;