2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Version 5.11.

- Copy video links at current time.
- Set custom video covers when posting to channels.
- Send paid reactions from the name of your channels.
This commit is contained in:
John Preston
2025-02-12 18:32:34 +04:00
parent 15dc7c74d7
commit 9f79dda463
8 changed files with 26 additions and 20 deletions

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 = 5010008;
constexpr auto AppVersionStr = "5.10.8";
constexpr auto AppBetaVersion = true;
constexpr auto AppVersion = 5011000;
constexpr auto AppVersionStr = "5.11";
constexpr auto AppBetaVersion = false;
constexpr auto AppAlphaVersion = TDESKTOP_ALPHA_VERSION;

View File

@@ -1901,7 +1901,7 @@ void Gif::updateStatusText() const {
statusSize = -1 - int((state.length - position) / state.frequency + 1);
}
_videoPosition = std::max(
position * crl::time(1000) / state.frequency,
crl::time(position * crl::time(1000) / state.frequency),
crl::time(1));
} else {
if (!frozen) {