Beta version 2.6.7.

- Improve voice chat participants list updating.
This commit is contained in:
John Preston 2021-03-18 18:05:43 +04:00
parent 38e15c9bdb
commit ac397e6e19
10 changed files with 34 additions and 21 deletions

View File

@ -9,7 +9,7 @@
<Identity Name="TelegramMessengerLLP.TelegramDesktop"
ProcessorArchitecture="ARCHITECTURE"
Publisher="CN=536BC709-8EE1-4478-AF22-F0F0F26FF64A"
Version="2.6.6.0" />
Version="2.6.7.0" />
<Properties>
<DisplayName>Telegram Desktop</DisplayName>
<PublisherDisplayName>Telegram Messenger LLP</PublisherDisplayName>

View File

@ -44,8 +44,8 @@ IDI_ICON1 ICON "..\\art\\icon256.ico"
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 2,6,6,0
PRODUCTVERSION 2,6,6,0
FILEVERSION 2,6,7,0
PRODUCTVERSION 2,6,7,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.6.0"
VALUE "FileVersion", "2.6.7.0"
VALUE "LegalCopyright", "Copyright (C) 2014-2021"
VALUE "ProductName", "Telegram Desktop"
VALUE "ProductVersion", "2.6.6.0"
VALUE "ProductVersion", "2.6.7.0"
END
END
BLOCK "VarFileInfo"

View File

@ -35,8 +35,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 2,6,6,0
PRODUCTVERSION 2,6,6,0
FILEVERSION 2,6,7,0
PRODUCTVERSION 2,6,7,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.6.0"
VALUE "FileVersion", "2.6.7.0"
VALUE "LegalCopyright", "Copyright (C) 2014-2021"
VALUE "ProductName", "Telegram Desktop"
VALUE "ProductVersion", "2.6.6.0"
VALUE "ProductVersion", "2.6.7.0"
END
END
BLOCK "VarFileInfo"

View File

@ -1597,7 +1597,11 @@ base::unique_qptr<Ui::PopupMenu> MembersController::createRowContextMenu(
}
} else {
result->addAction(
tr::lng_context_view_profile(tr::now),
(participantPeer->isUser()
? tr::lng_context_view_profile(tr::now)
: participantPeer->isBroadcast()
? tr::lng_context_view_channel(tr::now)
: tr::lng_context_view_group(tr::now)),
showProfile);
if (participantPeer->isUser()) {
result->addAction(

View File

@ -137,6 +137,10 @@ std::map<int, const char*> BetaLogs() {
2006005,
"- Improvements and fixes in new voice chat features.\n"
},
{
2006007,
"- Improve voice chat participants list updating.\n"
},
};
};

View File

@ -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 = 2006006;
constexpr auto AppVersionStr = "2.6.6";
constexpr auto AppVersion = 2006007;
constexpr auto AppVersionStr = "2.6.7";
constexpr auto AppBetaVersion = true;
constexpr auto AppAlphaVersion = TDESKTOP_ALPHA_VERSION;

View File

@ -535,7 +535,10 @@ void ValidateSlice(
).arg(from
).arg(index
).arg(till) + strings.join(","));
Unexpected("Bad slice in GroupThumbs.");
if (Logs::DebugEnabled()) {
Unexpected("Bad slice in GroupThumbs.");
}
break;
} else {
keys.emplace(key);
}
@ -555,9 +558,7 @@ void GroupThumbs::fillItems(
const auto current = (index - from);
const auto old = base::take(_items);
if (Logs::DebugEnabled()) {
ValidateSlice(slice, _context, from, index, till);
}
ValidateSlice(slice, _context, from, index, till);
markCacheStale();
_items.reserve(till - from);

View File

@ -1,7 +1,7 @@
AppVersion 2006006
AppVersion 2006007
AppVersionStrMajor 2.6
AppVersionStrSmall 2.6.6
AppVersionStr 2.6.6
AppVersionStrSmall 2.6.7
AppVersionStr 2.6.7
BetaChannel 1
AlphaVersion 0
AppVersionOriginal 2.6.6.beta
AppVersionOriginal 2.6.7.beta

@ -1 +1 @@
Subproject commit 60d5c43daf882a6c03944a3e6198b5f35b654a0e
Subproject commit 01258d99f0ed3efa3f1f030c4077796bd30696f3

View File

@ -1,3 +1,7 @@
2.6.7 beta (18.03.21)
- Improve voice chat participants list updating.
2.6.6 beta (18.03.21)
- Fix joining popular voice chats.