Skip to content

Commit 4659d5d

Browse files
committed
Version 5.15.
- Send Direct Messages to Channels. - Enable New Tab Layout for Topics. - Create Polls with Up To 12 Options.
1 parent af06112 commit 4659d5d

17 files changed

+36
-39
lines changed

Telegram/Resources/uwp/AppX/AppxManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<Identity Name="TelegramMessengerLLP.TelegramDesktop"
1111
ProcessorArchitecture="ARCHITECTURE"
1212
Publisher="CN=536BC709-8EE1-4478-AF22-F0F0F26FF64A"
13-
Version="5.14.3.0" />
13+
Version="5.15.0.0" />
1414
<Properties>
1515
<DisplayName>Telegram Desktop</DisplayName>
1616
<PublisherDisplayName>Telegram Messenger LLP</PublisherDisplayName>

Telegram/Resources/winrc/Telegram.rc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ IDI_ICON1 ICON "..\\art\\icon256.ico"
4444
//
4545

4646
VS_VERSION_INFO VERSIONINFO
47-
FILEVERSION 5,14,3,0
48-
PRODUCTVERSION 5,14,3,0
47+
FILEVERSION 5,15,0,0
48+
PRODUCTVERSION 5,15,0,0
4949
FILEFLAGSMASK 0x3fL
5050
#ifdef _DEBUG
5151
FILEFLAGS 0x1L
@@ -62,10 +62,10 @@ BEGIN
6262
BEGIN
6363
VALUE "CompanyName", "Telegram FZ-LLC"
6464
VALUE "FileDescription", "Telegram Desktop"
65-
VALUE "FileVersion", "5.14.3.0"
65+
VALUE "FileVersion", "5.15.0.0"
6666
VALUE "LegalCopyright", "Copyright (C) 2014-2025"
6767
VALUE "ProductName", "Telegram Desktop"
68-
VALUE "ProductVersion", "5.14.3.0"
68+
VALUE "ProductVersion", "5.15.0.0"
6969
END
7070
END
7171
BLOCK "VarFileInfo"

Telegram/Resources/winrc/Updater.rc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
3535
//
3636

3737
VS_VERSION_INFO VERSIONINFO
38-
FILEVERSION 5,14,3,0
39-
PRODUCTVERSION 5,14,3,0
38+
FILEVERSION 5,15,0,0
39+
PRODUCTVERSION 5,15,0,0
4040
FILEFLAGSMASK 0x3fL
4141
#ifdef _DEBUG
4242
FILEFLAGS 0x1L
@@ -53,10 +53,10 @@ BEGIN
5353
BEGIN
5454
VALUE "CompanyName", "Telegram FZ-LLC"
5555
VALUE "FileDescription", "Telegram Desktop Updater"
56-
VALUE "FileVersion", "5.14.3.0"
56+
VALUE "FileVersion", "5.15.0.0"
5757
VALUE "LegalCopyright", "Copyright (C) 2014-2025"
5858
VALUE "ProductName", "Telegram Desktop"
59-
VALUE "ProductVersion", "5.14.3.0"
59+
VALUE "ProductVersion", "5.15.0.0"
6060
END
6161
END
6262
BLOCK "VarFileInfo"

Telegram/SourceFiles/boxes/peer_list_controllers.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1275,7 +1275,7 @@ std::unique_ptr<PeerListRow> ChooseSublistBoxController::createSearchRow(
12751275
auto ChooseSublistBoxController::createRow(
12761276
not_null<Data::SavedSublist*> sublist)
12771277
-> std::unique_ptr<PeerListRow> {
1278-
if (const auto skip = _filter && !_filter(sublist)) {
1278+
if (_filter && !_filter(sublist)) {
12791279
return nullptr;
12801280
}
12811281
auto result = std::make_unique<PeerListRow>(sublist->sublistPeer());

Telegram/SourceFiles/boxes/send_gif_with_caption_box.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,6 @@ void CaptionBox(
245245
box->setWidth(st::boxWidth);
246246
box->getDelegate()->setStyle(st::sendGifBox);
247247

248-
const auto container = box->verticalLayout();
249-
250248
const auto input = AddInputField(box, controller);
251249
box->setFocusCallback([=] {
252250
input->setFocus();

Telegram/SourceFiles/core/version.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ constexpr auto AppId = "{53F49750-6209-4FBF-9CA8-7A333C87D1ED}"_cs;
2222
constexpr auto AppNameOld = "Telegram Win (Unofficial)"_cs;
2323
constexpr auto AppName = "Telegram Desktop"_cs;
2424
constexpr auto AppFile = "Telegram"_cs;
25-
constexpr auto AppVersion = 5014003;
26-
constexpr auto AppVersionStr = "5.14.3";
25+
constexpr auto AppVersion = 5015000;
26+
constexpr auto AppVersionStr = "5.15";
2727
constexpr auto AppBetaVersion = false;
2828
constexpr auto AppAlphaVersion = TDESKTOP_ALPHA_VERSION;

Telegram/SourceFiles/history/view/history_view_chat_section.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2978,9 +2978,6 @@ rpl::producer<Data::MessagesSlice> ChatWidget::sublistSource(
29782978
Data::MessagePosition aroundId,
29792979
int limitBefore,
29802980
int limitAfter) {
2981-
const auto messageId = aroundId.fullId.msg
2982-
? aroundId.fullId.msg
2983-
: (ServerMaxMsgId - 1);
29842981
return _sublist->source(
29852982
aroundId,
29862983
limitBefore,

Telegram/SourceFiles/history/view/history_view_subsection_tabs.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ For license and copyright information please follow this link:
4141
namespace HistoryView {
4242
namespace {
4343

44-
constexpr auto kDefaultLimit = 5; AssertIsDebug()// 10;
44+
constexpr auto kDefaultLimit = 12;
4545

4646
} // namespace
4747

@@ -349,7 +349,7 @@ void SubsectionTabs::setupSlider(
349349
? was
350350
: Ui::MakeUserpicThumbnail(peer);
351351
sections.push_back({
352-
.text = peer->shortName(),
352+
.text = { peer->shortName() },
353353
.userpic = std::move(userpic),
354354
});
355355
} else {
@@ -363,7 +363,7 @@ void SubsectionTabs::setupSlider(
363363
}
364364
} else {
365365
sections.push_back({
366-
.text = tr::lng_filters_all_short(tr::now),
366+
.text = { tr::lng_filters_all_short(tr::now) },
367367
.userpic = Ui::MakeAllSubsectionsThumbnail(textFg),
368368
});
369369
}

Telegram/SourceFiles/history/view/history_view_subsection_tabs.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ class SubsectionTabs final {
6969
DocumentId iconId = 0;
7070
QString name;
7171

72-
friend inline constexpr auto operator<=>(
72+
friend inline auto operator<=>(
7373
const Item &,
7474
const Item &) = default;
75-
friend inline constexpr bool operator==(
75+
friend inline bool operator==(
7676
const Item &,
7777
const Item &) = default;
7878
};

Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -369,9 +369,10 @@ Manager::Private::Private(not_null<Manager*> manager)
369369
.contextId = ContextId{
370370
.sessionId = dict.lookup_value("session").get_uint64(),
371371
.peerId = PeerId(dict.lookup_value("peer").get_uint64()),
372-
.topicRootId = dict.lookup_value("topic").get_int64(),
373-
.monoforumPeerId = dict.lookup_value(
374-
"monoforumpeer").get_uint64(),
372+
.topicRootId = MsgId(
373+
dict.lookup_value("topic").get_int64()),
374+
.monoforumPeerId = PeerId(dict.lookup_value(
375+
"monoforumpeer").get_uint64()),
375376
},
376377
.msgId = dict.lookup_value("msgid").get_int64(),
377378
};

0 commit comments

Comments
 (0)