From c5640ec13f4d9b7c40565f61dfd8da200c7d302e Mon Sep 17 00:00:00 2001 From: John Gibbon Date: Fri, 22 Jan 2021 10:02:32 +0100 Subject: [PATCH] Fix poll results page fixes #331 --- qml/components/messageContent/MessagePoll.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qml/components/messageContent/MessagePoll.qml b/qml/components/messageContent/MessagePoll.qml index d41e9ae..0aba733 100644 --- a/qml/components/messageContent/MessagePoll.qml +++ b/qml/components/messageContent/MessagePoll.qml @@ -259,7 +259,7 @@ MessageContentBase { visible: !pollMessageComponent.canAnswer && !pollData.is_anonymous && pollData.total_voter_count > 0 icon.source: "image://theme/icon-m-media-artists" onClicked: { - pageStack.push(Qt.resolvedUrl("../../pages/PollResultsPage.qml"), { chatId:chatId, message:pollMessageComponent.message}); + pageStack.push(Qt.resolvedUrl("../../pages/PollResultsPage.qml"), { chatId:chatId, message:pollMessageComponent.rawMessage}); } Icon { opacity: 0.8