Skip to content

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
john-preston committed Oct 16, 2024
1 parent 26ed6e1 commit 6c8b51e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Telegram/SourceFiles/api/api_credits.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -367,9 +367,10 @@ Data::CreditTopupOptions CreditsTopupOptions::options() const {
return _options;
}

#if 0 // mtp
rpl::producer<not_null<PeerData*>> PremiumPeerBot(
not_null<Main::Session*> session) {
return rpl::single(not_null<PeerData*>(session->user()));
#if 0 // mtp this won't be used so just workaround it for now
const auto username = session->appConfig().get<QString>(
u"premium_bot_username"_q,
QString());
Expand Down Expand Up @@ -399,8 +400,8 @@ rpl::producer<not_null<PeerData*>> PremiumPeerBot(

return lifetime;
};
}
#endif
}

CreditsEarnStatistics::CreditsEarnStatistics(not_null<PeerData*> peer)
: StatisticsRequestSender(peer)
Expand Down

0 comments on commit 6c8b51e

Please sign in to comment.