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

Allow sending multiple votes in a poll.

This commit is contained in:
John Preston
2020-01-10 15:47:36 +03:00
parent afff7634f9
commit 2981a16e17
15 changed files with 242 additions and 38 deletions

View File

@@ -60,7 +60,7 @@ struct PollData {
std::vector<PollAnswer> answers;
std::vector<not_null<UserData*>> recentVoters;
int totalVoters = 0;
QByteArray sendingVote;
std::vector<QByteArray> sendingVotes;
crl::time lastResultsUpdate = 0;
int version = 0;