MCPcopy Create free account
hub / github.com/TDesktop-x64/tdesktop / voted

Method voted

Telegram/SourceFiles/data/data_poll.cpp:359–361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

357}
358
359bool PollData::voted() const {
360 return ranges::contains(answers, true, &PollAnswer::chosen);
361}
362
363bool PollData::closed() const {
364 return (_flags & Flag::Closed);

Callers 8

refreshVoteButtonMethod · 0.80
sendVotesMethod · 0.80
FillPollOptionPageFunction · 0.80
AddPollActionsFunction · 0.80
updateVotesMethod · 0.80
checkAnimationStartMethod · 0.80
FillPollAnswerMenuFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected