From 73691e795b27f29a820144ee8c55f825b310db2b Mon Sep 17 00:00:00 2001 From: John Preston <johnprestonmail@gmail.com> Date: Mon, 4 May 2020 14:42:06 +0400 Subject: [PATCH] Fix broken poll results view. Regression was introduced in dd78052f92. Fixes #7780. Copy-Paste is bad. --- Telegram/SourceFiles/history/history_inner_widget.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Telegram/SourceFiles/history/history_inner_widget.cpp b/Telegram/SourceFiles/history/history_inner_widget.cpp index 4ecd52e78..85494767c 100644 --- a/Telegram/SourceFiles/history/history_inner_widget.cpp +++ b/Telegram/SourceFiles/history/history_inner_widget.cpp @@ -2477,8 +2477,9 @@ void HistoryInner::elementStartStickerLoop( } void HistoryInner::elementShowPollResults( - not_null<PollData*> poll, - FullMsgId context) { + not_null<PollData*> poll, + FullMsgId context) { + _controller->showPollResults(poll, context); } void HistoryInner::elementShowTooltip(