From 6660206e612b35534dfa7d0085397a57400a6c5b Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 2 Nov 2020 09:55:02 +0300 Subject: [PATCH] Fix poll results opening from pinned section. Fixes #8942. --- .../SourceFiles/history/view/history_view_list_widget.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Telegram/SourceFiles/history/view/history_view_list_widget.cpp b/Telegram/SourceFiles/history/view/history_view_list_widget.cpp index 71ceca6bbf..66b362033c 100644 --- a/Telegram/SourceFiles/history/view/history_view_list_widget.cpp +++ b/Telegram/SourceFiles/history/view/history_view_list_widget.cpp @@ -1268,8 +1268,9 @@ void ListWidget::elementStartStickerLoop(not_null view) { } void ListWidget::elementShowPollResults( - not_null poll, - FullMsgId context) { + not_null poll, + FullMsgId context) { + _controller->showPollResults(poll, context); } void ListWidget::elementShowTooltip(