mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Mark premium impossible in MacAppStore version.
This commit is contained in:
@@ -133,12 +133,14 @@ Session::Session(
|
||||
}
|
||||
}, _lifetime);
|
||||
|
||||
#ifndef OS_MAC_STORE
|
||||
_account->appConfig().value(
|
||||
) | rpl::start_with_next([=] {
|
||||
_premiumPossible = !_account->appConfig().get<bool>(
|
||||
"premium_purchase_blocked",
|
||||
true);
|
||||
}, _lifetime);
|
||||
#endif // OS_MAC_STORE
|
||||
|
||||
if (_settings->hadLegacyCallsPeerToPeerNobody()) {
|
||||
api().userPrivacy().save(
|
||||
|
Reference in New Issue
Block a user