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

Method setStarsPerMessage

Telegram/SourceFiles/data/data_user.cpp:692–698  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

690}
691
692void UserData::setStarsPerMessage(int stars) {
693 if (_starsPerMessage != stars) {
694 _starsPerMessage = stars;
695 session().changes().peerUpdated(this, UpdateFlag::StarsPerMessage);
696 }
697 checkTrustedPayForMessage();
698}
699
700void UserData::setStarsRating(Data::StarsRating value) {
701 if (_starsRating != value) {

Callers 6

sendMessageFailMethod · 0.45
ApplyUserUpdateFunction · 0.45
processUserMethod · 0.45
processChatMethod · 0.45
editStarsPerMessageMethod · 0.45

Calls 2

peerUpdatedMethod · 0.80
changesMethod · 0.45

Tested by

no test coverage detected