mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Merge tag 'v4.16.0' into dev
# Conflicts: # README.md # Telegram/Resources/winrc/Telegram.rc # Telegram/Resources/winrc/Updater.rc # Telegram/SourceFiles/calls/calls_call.cpp # Telegram/SourceFiles/core/local_url_handlers.cpp # Telegram/SourceFiles/core/version.h # Telegram/SourceFiles/history/view/media/history_view_giveaway.cpp # Telegram/SourceFiles/history/view/media/history_view_sticker.cpp # Telegram/lib_ui # snap/snapcraft.yaml
This commit is contained in:
@@ -142,10 +142,10 @@ Session::Session(
|
||||
}, _lifetime);
|
||||
|
||||
#ifndef OS_MAC_STORE
|
||||
_account->appConfig().value(
|
||||
appConfig().value(
|
||||
) | rpl::start_with_next([=] {
|
||||
_premiumPossible = !_account->appConfig().get<bool>(
|
||||
"premium_purchase_blocked",
|
||||
_premiumPossible = !appConfig().get<bool>(
|
||||
u"premium_purchase_blocked"_q,
|
||||
true);
|
||||
}, _lifetime);
|
||||
#endif // OS_MAC_STORE
|
||||
@@ -231,6 +231,10 @@ Storage::Domain &Session::domainLocal() const {
|
||||
return _account->domainLocal();
|
||||
}
|
||||
|
||||
AppConfig &Session::appConfig() const {
|
||||
return _account->appConfig();
|
||||
}
|
||||
|
||||
void Session::notifyDownloaderTaskFinished() {
|
||||
downloader().notifyTaskFinished();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user