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
+1 -1
View File
@@ -2895,7 +2895,7 @@ void Session::gameApplyFields(
not_null<PollData*> Session::poll(PollId id) {
auto i = _polls.find(id);
if (i == _polls.cend()) {
i = _polls.emplace(id, std::make_unique<PollData>(id)).first;
i = _polls.emplace(id, std::make_unique<PollData>(this, id)).first;
}
return i->second.get();
}