2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Display last voters userpics.

This commit is contained in:
John Preston
2020-01-09 20:24:54 +03:00
parent 95b2886bad
commit afff7634f9
8 changed files with 95 additions and 9 deletions

View File

@@ -706,7 +706,7 @@ object_ptr<Ui::RpWidget> CreatePollBox::setupContent() {
};
const auto collectResult = [=] {
auto result = PollData(id);
auto result = PollData(&_session->data(), id);
result.question = question->getLastText().trimmed();
result.answers = options->toPollAnswers();
return result;