diff --git a/Telegram/Resources/uwp/AppX/AppxManifest.xml b/Telegram/Resources/uwp/AppX/AppxManifest.xml
index 0e315c8eb..09cec6f86 100644
--- a/Telegram/Resources/uwp/AppX/AppxManifest.xml
+++ b/Telegram/Resources/uwp/AppX/AppxManifest.xml
@@ -9,7 +9,7 @@
+ Version="2.7.0.0" />
Telegram Desktop
Telegram Messenger LLP
diff --git a/Telegram/Resources/winrc/Telegram.rc b/Telegram/Resources/winrc/Telegram.rc
index 20d994131..3929b9beb 100644
--- a/Telegram/Resources/winrc/Telegram.rc
+++ b/Telegram/Resources/winrc/Telegram.rc
@@ -44,8 +44,8 @@ IDI_ICON1 ICON "..\\art\\icon256.ico"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 2,6,8,0
- PRODUCTVERSION 2,6,8,0
+ FILEVERSION 2,7,0,0
+ PRODUCTVERSION 2,7,0,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@@ -62,10 +62,10 @@ BEGIN
BEGIN
VALUE "CompanyName", "Telegram FZ-LLC"
VALUE "FileDescription", "Telegram Desktop"
- VALUE "FileVersion", "2.6.8.0"
+ VALUE "FileVersion", "2.7.0.0"
VALUE "LegalCopyright", "Copyright (C) 2014-2021"
VALUE "ProductName", "Telegram Desktop"
- VALUE "ProductVersion", "2.6.8.0"
+ VALUE "ProductVersion", "2.7.0.0"
END
END
BLOCK "VarFileInfo"
diff --git a/Telegram/Resources/winrc/Updater.rc b/Telegram/Resources/winrc/Updater.rc
index 4f7644148..2ea344720 100644
--- a/Telegram/Resources/winrc/Updater.rc
+++ b/Telegram/Resources/winrc/Updater.rc
@@ -35,8 +35,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 2,6,8,0
- PRODUCTVERSION 2,6,8,0
+ FILEVERSION 2,7,0,0
+ PRODUCTVERSION 2,7,0,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@@ -53,10 +53,10 @@ BEGIN
BEGIN
VALUE "CompanyName", "Telegram FZ-LLC"
VALUE "FileDescription", "Telegram Desktop Updater"
- VALUE "FileVersion", "2.6.8.0"
+ VALUE "FileVersion", "2.7.0.0"
VALUE "LegalCopyright", "Copyright (C) 2014-2021"
VALUE "ProductName", "Telegram Desktop"
- VALUE "ProductVersion", "2.6.8.0"
+ VALUE "ProductVersion", "2.7.0.0"
END
END
BLOCK "VarFileInfo"
diff --git a/Telegram/SourceFiles/core/version.h b/Telegram/SourceFiles/core/version.h
index 6285cbcbd..b036f0e85 100644
--- a/Telegram/SourceFiles/core/version.h
+++ b/Telegram/SourceFiles/core/version.h
@@ -22,7 +22,7 @@ constexpr auto AppId = "{53F49750-6209-4FBF-9CA8-7A333C87D1ED}"_cs;
constexpr auto AppNameOld = "Telegram Win (Unofficial)"_cs;
constexpr auto AppName = "Telegram Desktop"_cs;
constexpr auto AppFile = "Telegram"_cs;
-constexpr auto AppVersion = 2006008;
-constexpr auto AppVersionStr = "2.6.8";
-constexpr auto AppBetaVersion = true;
+constexpr auto AppVersion = 2007000;
+constexpr auto AppVersionStr = "2.7";
+constexpr auto AppBetaVersion = false;
constexpr auto AppAlphaVersion = TDESKTOP_ALPHA_VERSION;
diff --git a/Telegram/SourceFiles/media/view/media_view_group_thumbs.cpp b/Telegram/SourceFiles/media/view/media_view_group_thumbs.cpp
index f3bc462d4..8ec36ce2c 100644
--- a/Telegram/SourceFiles/media/view/media_view_group_thumbs.cpp
+++ b/Telegram/SourceFiles/media/view/media_view_group_thumbs.cpp
@@ -558,7 +558,7 @@ void GroupThumbs::fillItems(
const auto current = (index - from);
const auto old = base::take(_items);
- ValidateSlice(slice, _context, from, index, till);
+ //ValidateSlice(slice, _context, from, index, till);
markCacheStale();
_items.reserve(till - from);
@@ -587,17 +587,21 @@ void GroupThumbs::animateAliveItems(int current) {
}
void GroupThumbs::fillDyingItems(const std::vector> &old) {
- Expects(_cache.size() >= _items.size());
+ //Expects(_cache.size() >= _items.size());
- _dying.reserve(_cache.size() - _items.size());
+ if (_cache.size() >= _items.size()) {
+ _dying.reserve(_cache.size() - _items.size());
+ }
animatePreviouslyAlive(old);
markRestAsDying();
}
void GroupThumbs::markRestAsDying() {
- Expects(_cache.size() >= _items.size());
+ //Expects(_cache.size() >= _items.size());
- _dying.reserve(_cache.size() - _items.size());
+ if (_cache.size() >= _items.size()) {
+ _dying.reserve(_cache.size() - _items.size());
+ }
for (const auto &cacheItem : _cache) {
const auto &thumb = cacheItem.second;
const auto state = thumb->state();
diff --git a/Telegram/build/version b/Telegram/build/version
index 788ff9801..3cf28adc4 100644
--- a/Telegram/build/version
+++ b/Telegram/build/version
@@ -1,7 +1,7 @@
-AppVersion 2006008
-AppVersionStrMajor 2.6
-AppVersionStrSmall 2.6.8
-AppVersionStr 2.6.8
-BetaChannel 1
+AppVersion 2007000
+AppVersionStrMajor 2.7
+AppVersionStrSmall 2.7
+AppVersionStr 2.7.0
+BetaChannel 0
AlphaVersion 0
-AppVersionOriginal 2.6.8.beta
+AppVersionOriginal 2.7
diff --git a/changelog.txt b/changelog.txt
index 0963e2377..048f5b54f 100644
--- a/changelog.txt
+++ b/changelog.txt
@@ -1,3 +1,15 @@
+2.7 (19.03.21)
+
+- Start limitless Voice Chats in Groups and Channels.
+- Host discussions that can be listened to by millions of people simultaneously.
+- Record voice chats to share or publish in Channels later.
+- See that a chat is being recorded from the red dot next to its title.
+- See user bio texts right from the list of participants.
+- Raise your hand to show admins you want to speak.
+- Create separate Voice Chat Invite Links for listeners or speakers.
+- Change the title of your Voice Chat to give people an idea of the current topic.
+- Join Voice Chats as one of your Channels to hide your personal account.
+
2.6.8 beta (18.03.21)
- Fix connecting and getting allowed to speak on voice chats.