2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Removed cpm configuration.

This commit is contained in:
23rd
2024-03-26 20:41:07 +03:00
committed by John Preston
parent 508119a127
commit 4e0d770d05
8 changed files with 88 additions and 107 deletions

View File

@@ -779,7 +779,7 @@ rpl::producer<rpl::no_value, QString> EarnStatistics::request() {
).done([=](const MTPmessages_ChatFull &result) {
result.data().vfull_chat().match([&](
const MTPDchannelFull &d) {
_data.minCpm = d.vsponsored_min_cpm().value_or(-1);
_data.switchedOff = d.is_restricted_sponsored();
}, [](const auto &) {
});
consumer.put_done();