mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Mark premium impossible in MacAppStore version.
This commit is contained in:
parent
3df7c71813
commit
91b7fe5650
1 changed files with 2 additions and 0 deletions
|
@ -133,12 +133,14 @@ Session::Session(
|
||||||
}
|
}
|
||||||
}, _lifetime);
|
}, _lifetime);
|
||||||
|
|
||||||
|
#ifndef OS_MAC_STORE
|
||||||
_account->appConfig().value(
|
_account->appConfig().value(
|
||||||
) | rpl::start_with_next([=] {
|
) | rpl::start_with_next([=] {
|
||||||
_premiumPossible = !_account->appConfig().get<bool>(
|
_premiumPossible = !_account->appConfig().get<bool>(
|
||||||
"premium_purchase_blocked",
|
"premium_purchase_blocked",
|
||||||
true);
|
true);
|
||||||
}, _lifetime);
|
}, _lifetime);
|
||||||
|
#endif // OS_MAC_STORE
|
||||||
|
|
||||||
if (_settings->hadLegacyCallsPeerToPeerNobody()) {
|
if (_settings->hadLegacyCallsPeerToPeerNobody()) {
|
||||||
api().userPrivacy().save(
|
api().userPrivacy().save(
|
||||||
|
|
Loading…
Add table
Reference in a new issue