diff --git a/Telegram/Resources/uwp/AppX/AppxManifest.xml b/Telegram/Resources/uwp/AppX/AppxManifest.xml
index 2a1a50cc0..286657477 100644
--- a/Telegram/Resources/uwp/AppX/AppxManifest.xml
+++ b/Telegram/Resources/uwp/AppX/AppxManifest.xml
@@ -9,7 +9,7 @@
+ Version="1.7.14.0" />
Telegram Desktop
Telegram Messenger LLP
diff --git a/Telegram/Resources/winrc/Telegram.rc b/Telegram/Resources/winrc/Telegram.rc
index cc91e6c45..7ba217f20 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,7,13,0
- PRODUCTVERSION 1,7,13,0
+ FILEVERSION 1,7,14,0
+ PRODUCTVERSION 1,7,14,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.7.13.0"
+ VALUE "FileVersion", "1.7.14.0"
VALUE "LegalCopyright", "Copyright (C) 2014-2019"
VALUE "ProductName", "Telegram Desktop"
- VALUE "ProductVersion", "1.7.13.0"
+ VALUE "ProductVersion", "1.7.14.0"
END
END
BLOCK "VarFileInfo"
diff --git a/Telegram/Resources/winrc/Updater.rc b/Telegram/Resources/winrc/Updater.rc
index dba53bf5c..1db1d08ce 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,7,13,0
- PRODUCTVERSION 1,7,13,0
+ FILEVERSION 1,7,14,0
+ PRODUCTVERSION 1,7,14,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.7.13.0"
+ VALUE "FileVersion", "1.7.14.0"
VALUE "LegalCopyright", "Copyright (C) 2014-2019"
VALUE "ProductName", "Telegram Desktop"
- VALUE "ProductVersion", "1.7.13.0"
+ VALUE "ProductVersion", "1.7.14.0"
END
END
BLOCK "VarFileInfo"
diff --git a/Telegram/SourceFiles/core/version.h b/Telegram/SourceFiles/core/version.h
index b8f344819..8c6cd45f7 100644
--- a/Telegram/SourceFiles/core/version.h
+++ b/Telegram/SourceFiles/core/version.h
@@ -15,7 +15,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#define TDESKTOP_ALPHA_VERSION (0ULL)
#endif // TDESKTOP_OFFICIAL_TARGET
-constexpr auto AppVersion = 1007013;
-constexpr auto AppVersionStr = "1.7.13";
+constexpr auto AppVersion = 1007014;
+constexpr auto AppVersionStr = "1.7.14";
constexpr auto AppBetaVersion = false;
constexpr auto AppAlphaVersion = TDESKTOP_ALPHA_VERSION;
diff --git a/Telegram/SourceFiles/lottie/lottie_frame_renderer.cpp b/Telegram/SourceFiles/lottie/lottie_frame_renderer.cpp
index 5fa32aba2..354eb980f 100644
--- a/Telegram/SourceFiles/lottie/lottie_frame_renderer.cpp
+++ b/Telegram/SourceFiles/lottie/lottie_frame_renderer.cpp
@@ -268,8 +268,8 @@ void SharedState::calculateProperties() {
: _cache->framesCount();
_size = QSize(
- (width > 0 && width < kMaxSize) ? int(width) : 0,
- (height > 0 && height < kMaxSize) ? int(height) : 0);
+ (width > 0 && width <= kMaxSize) ? int(width) : 0,
+ (height > 0 && height <= kMaxSize) ? int(height) : 0);
_frameRate = (rate > 0 && rate <= kMaxFrameRate) ? int(rate) : 0;
_framesCount = (count > 0 && count <= kMaxFramesCount) ? int(count) : 0;
}
diff --git a/Telegram/SourceFiles/lottie/lottie_frame_renderer.h b/Telegram/SourceFiles/lottie/lottie_frame_renderer.h
index 94e8928cb..a399bc505 100644
--- a/Telegram/SourceFiles/lottie/lottie_frame_renderer.h
+++ b/Telegram/SourceFiles/lottie/lottie_frame_renderer.h
@@ -23,9 +23,9 @@ class Animation;
namespace Lottie {
-inline constexpr auto kMaxFrameRate = 120;
-inline constexpr auto kMaxSize = 3096;
-inline constexpr auto kMaxFramesCount = 600;
+inline constexpr auto kMaxFrameRate = 60;
+inline constexpr auto kMaxSize = 512;
+inline constexpr auto kMaxFramesCount = 180;
inline constexpr auto kFrameDisplayTimeAlreadyDone
= std::numeric_limits::max();
inline constexpr auto kDisplayedInitial = crl::time(-1);
diff --git a/Telegram/build/version b/Telegram/build/version
index 8f0973680..218ce87b7 100644
--- a/Telegram/build/version
+++ b/Telegram/build/version
@@ -1,6 +1,6 @@
-AppVersion 1007013
+AppVersion 1007014
AppVersionStrMajor 1.7
-AppVersionStrSmall 1.7.13
-AppVersionStr 1.7.13
+AppVersionStrSmall 1.7.14
+AppVersionStr 1.7.14
BetaChannel 0
AlphaVersion 0
diff --git a/changelog.txt b/changelog.txt
index 519e6d1a2..4f88b4dc2 100644
--- a/changelog.txt
+++ b/changelog.txt
@@ -1,3 +1,7 @@
+1.7.14 (07.07.19)
+
+- Bug fixes and other minor improvements.
+
1.7.13 (06.07.19)
- Send ultra-lightweight high-quality animated stickers to express emotion with motion.