From 0df1952a04507c267f324dae5b672b31746a7545 Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 22 Apr 2015 14:33:52 +0300 Subject: [PATCH] changelog added --- Telegram/SourceFiles/application.cpp | 4 ++-- Telegram/SourceFiles/localstorage.cpp | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Telegram/SourceFiles/application.cpp b/Telegram/SourceFiles/application.cpp index d13ba3574..f11e33b75 100644 --- a/Telegram/SourceFiles/application.cpp +++ b/Telegram/SourceFiles/application.cpp @@ -662,8 +662,8 @@ void Application::checkMapVersion() { psRegisterCustomScheme(); if (Local::oldMapVersion()) { QString versionFeatures; - if (DevChannel && Local::oldMapVersion() < 8002) { - versionFeatures = QString::fromUtf8("\xe2\x80\x94 Link previews bugfixes\n\xe2\x80\x94 Links in preview descriptions are now clickable\n\xe2\x80\x94 Twitter and Instagram mentions and hashtags in previews are clickable\n\xe2\x80\x94 Fixed file uploading\n\xe2\x80\x94 Fixed photo, document and sticker forwarding").replace('@', qsl("@") + QChar(0x200D)); + if (DevChannel && Local::oldMapVersion() < 8005) { + versionFeatures = QString::fromUtf8("\xe2\x80\x94 New photoviewer design\n\xe2\x80\x94 Switch through files overview in photoviewer\n\xe2\x80\x94 New default chat background image").replace('@', qsl("@") + QChar(0x200D)); } else if (!DevChannel && Local::oldMapVersion() < 8004) { versionFeatures = lang(lng_new_version_minor).trimmed(); } diff --git a/Telegram/SourceFiles/localstorage.cpp b/Telegram/SourceFiles/localstorage.cpp index c5247c5a3..d069232e3 100644 --- a/Telegram/SourceFiles/localstorage.cpp +++ b/Telegram/SourceFiles/localstorage.cpp @@ -831,6 +831,9 @@ namespace { if (!_checkStreamStatus(stream)) return false; cSetTileBackground(v == 1); + if (version < 8005 && !_backgroundKey) { + cSetTileBackground(false); + } } break; case dbiAutoLock: {