mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Show special blank chat for paid messages.
This commit is contained in:
@@ -659,6 +659,10 @@ Type CreditsId() {
|
||||
return Credits::Id();
|
||||
}
|
||||
|
||||
BuyStarsHandler::BuyStarsHandler() = default;
|
||||
|
||||
BuyStarsHandler::~BuyStarsHandler() = default;
|
||||
|
||||
Fn<void()> BuyStarsHandler::handler(
|
||||
std::shared_ptr<::Main::SessionShow> show,
|
||||
Fn<void()> paid) {
|
||||
|
@@ -23,6 +23,9 @@ namespace Settings {
|
||||
|
||||
class BuyStarsHandler final : public base::has_weak_ptr {
|
||||
public:
|
||||
BuyStarsHandler();
|
||||
~BuyStarsHandler();
|
||||
|
||||
[[nodiscard]] Fn<void()> handler(
|
||||
std::shared_ptr<::Main::SessionShow> show,
|
||||
Fn<void()> paid = nullptr);
|
||||
|
Reference in New Issue
Block a user