diff --git a/Telegram/Resources/uwp/AppX/AppxManifest.xml b/Telegram/Resources/uwp/AppX/AppxManifest.xml
index 62c87245e..b57f7e293 100644
--- a/Telegram/Resources/uwp/AppX/AppxManifest.xml
+++ b/Telegram/Resources/uwp/AppX/AppxManifest.xml
@@ -9,7 +9,7 @@
+ Version="1.3.15.0" />
Telegram Desktop
Telegram Messenger LLP
diff --git a/Telegram/Resources/winrc/Telegram.rc b/Telegram/Resources/winrc/Telegram.rc
index 2cb0ad340..1d44bbe57 100644
--- a/Telegram/Resources/winrc/Telegram.rc
+++ b/Telegram/Resources/winrc/Telegram.rc
@@ -34,8 +34,8 @@ IDI_ICON1 ICON "..\\art\\icon256.ico"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 1,3,14,2
- PRODUCTVERSION 1,3,14,2
+ FILEVERSION 1,3,15,0
+ PRODUCTVERSION 1,3,15,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@@ -52,10 +52,10 @@ BEGIN
BEGIN
VALUE "CompanyName", "Telegram Messenger LLP"
VALUE "FileDescription", "Telegram Desktop"
- VALUE "FileVersion", "1.3.14.2"
+ VALUE "FileVersion", "1.3.15.0"
VALUE "LegalCopyright", "Copyright (C) 2014-2018"
VALUE "ProductName", "Telegram Desktop"
- VALUE "ProductVersion", "1.3.14.2"
+ VALUE "ProductVersion", "1.3.15.0"
END
END
BLOCK "VarFileInfo"
diff --git a/Telegram/Resources/winrc/Updater.rc b/Telegram/Resources/winrc/Updater.rc
index 9203be623..f78ef2ba5 100644
--- a/Telegram/Resources/winrc/Updater.rc
+++ b/Telegram/Resources/winrc/Updater.rc
@@ -25,8 +25,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 1,3,14,2
- PRODUCTVERSION 1,3,14,2
+ FILEVERSION 1,3,15,0
+ PRODUCTVERSION 1,3,15,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@@ -43,10 +43,10 @@ BEGIN
BEGIN
VALUE "CompanyName", "Telegram Messenger LLP"
VALUE "FileDescription", "Telegram Desktop Updater"
- VALUE "FileVersion", "1.3.14.2"
+ VALUE "FileVersion", "1.3.15.0"
VALUE "LegalCopyright", "Copyright (C) 2014-2018"
VALUE "ProductName", "Telegram Desktop"
- VALUE "ProductVersion", "1.3.14.2"
+ VALUE "ProductVersion", "1.3.15.0"
END
END
BLOCK "VarFileInfo"
diff --git a/Telegram/SourceFiles/core/changelogs.cpp b/Telegram/SourceFiles/core/changelogs.cpp
index d4906ffb5..09fc87a90 100644
--- a/Telegram/SourceFiles/core/changelogs.cpp
+++ b/Telegram/SourceFiles/core/changelogs.cpp
@@ -40,6 +40,14 @@ std::map AlphaLogs() {
"\xE2\x80\x94 You can now assign custom themes "
"as night and day themes to quickly switch between them."
+ },
+ {
+ 1003015,
+ "\xE2\x80\x94 Improved local caching "
+ "for images and GIF animations.\n"
+
+ "\xE2\x80\x94 Control how much disk space is used by the cache "
+ "and for how long the cached files are stored."
}
};
}
diff --git a/Telegram/SourceFiles/core/version.h b/Telegram/SourceFiles/core/version.h
index 66b206e4c..09b745a2a 100644
--- a/Telegram/SourceFiles/core/version.h
+++ b/Telegram/SourceFiles/core/version.h
@@ -9,9 +9,9 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "core/utils.h"
-#define BETA_VERSION_MACRO (1003014002ULL)
+#define BETA_VERSION_MACRO (0ULL)
-constexpr int AppVersion = 1003014;
-constexpr str_const AppVersionStr = "1.3.14";
-constexpr bool AppAlphaVersion = false;
+constexpr int AppVersion = 1003015;
+constexpr str_const AppVersionStr = "1.3.15";
+constexpr bool AppAlphaVersion = true;
constexpr uint64 AppBetaVersion = BETA_VERSION_MACRO;
diff --git a/Telegram/SourceFiles/info/media/info_media_list_widget.cpp b/Telegram/SourceFiles/info/media/info_media_list_widget.cpp
index eda4b4bc0..6cbdb5399 100644
--- a/Telegram/SourceFiles/info/media/info_media_list_widget.cpp
+++ b/Telegram/SourceFiles/info/media/info_media_list_widget.cpp
@@ -217,6 +217,7 @@ void ListWidget::Section::setHeader(not_null item) {
bool ListWidget::Section::belongsHere(
not_null item) const {
Expects(!_items.empty());
+
auto date = item->dateTime().date();
auto myDate = _items.back().second->dateTime().date();
diff --git a/Telegram/build/version b/Telegram/build/version
index 44cb7f5a9..b6658ac8b 100644
--- a/Telegram/build/version
+++ b/Telegram/build/version
@@ -1,6 +1,6 @@
-AppVersion 1003014
+AppVersion 1003015
AppVersionStrMajor 1.3
-AppVersionStrSmall 1.3.14
-AppVersionStr 1.3.14
-AlphaChannel 0
-BetaVersion 1003014002
+AppVersionStrSmall 1.3.15
+AppVersionStr 1.3.15
+AlphaChannel 1
+BetaVersion 0
diff --git a/changelog.txt b/changelog.txt
index 25e3b7594..759b9e164 100644
--- a/changelog.txt
+++ b/changelog.txt
@@ -1,3 +1,7 @@
+1.3.15 (01.09.18)
+
+- Improved local files cache.
+
1.3.14 (27.08.18)
- Fix a crash in calls.