Sergey Kiselev
2 years ago
6 changed files with 70 additions and 4 deletions
@ -1,3 +1,3 @@ |
|||
TIMESTAMP = 1682392557 |
|||
TIMESTAMP = 1682388062 |
|||
SHA256 (tdesktop-4.8.1-full.tar.gz) = 96660bb151c035a80c5b32a8fe043cecb54e9fe450329cf612ecb752db68c06f |
|||
SIZE (tdesktop-4.8.1-full.tar.gz) = 63997319 |
|||
|
@ -0,0 +1,14 @@ |
|||
unbreak clang 13 build |
|||
|
|||
Index: Telegram/SourceFiles/api/api_chat_filters.cpp |
|||
--- Telegram/SourceFiles/api/api_chat_filters.cpp.orig |
|||
+++ Telegram/SourceFiles/api/api_chat_filters.cpp |
|||
@@ -227,7 +227,7 @@ void ImportInvite( |
|||
}; |
|||
auto inputs = peers | ranges::views::transform([](auto peer) { |
|||
return MTPInputPeer(peer->input); |
|||
- }) | ranges::to<QVector>(); |
|||
+ }) | ranges::to<QVector<MTPInputPeer>>(); |
|||
if (!slug.isEmpty()) { |
|||
api->request(MTPchatlists_JoinChatlistInvite( |
|||
MTP_string(slug), |
@ -0,0 +1,23 @@ |
|||
unbreak clang 13 build |
|||
|
|||
Index: Telegram/SourceFiles/boxes/filters/edit_filter_links.cpp |
|||
--- Telegram/SourceFiles/boxes/filters/edit_filter_links.cpp.orig |
|||
+++ Telegram/SourceFiles/boxes/filters/edit_filter_links.cpp |
|||
@@ -1028,7 +1028,7 @@ void ExportFilterLink( |
|||
const auto session = &front->session(); |
|||
auto mtpPeers = peers | ranges::views::transform( |
|||
[](not_null<PeerData*> peer) { return MTPInputPeer(peer->input); } |
|||
- ) | ranges::to<QVector>(); |
|||
+ ) | ranges::to<QVector<MTPInputPeer>>(); |
|||
session->api().request(MTPchatlists_ExportChatlistInvite( |
|||
MTP_inputChatlistDialogFilter(MTP_int(id)), |
|||
MTP_string(), // title |
|||
@@ -1061,7 +1061,7 @@ void EditLinkChats( |
|||
const auto session = &front->session(); |
|||
auto mtpPeers = peers | ranges::views::transform( |
|||
[](not_null<PeerData*> peer) { return MTPInputPeer(peer->input); } |
|||
- ) | ranges::to<QVector>(); |
|||
+ ) | ranges::to<QVector<MTPInputPeer>>(); |
|||
session->api().request(MTPchatlists_EditExportedInvite( |
|||
MTP_flags(MTPchatlists_EditExportedInvite::Flag::f_peers), |
|||
MTP_inputChatlistDialogFilter(MTP_int(link.id)), |
@ -0,0 +1,14 @@ |
|||
unbreak clang 13 build |
|||
|
|||
Index: Telegram/SourceFiles/settings/settings_folders.cpp |
|||
--- Telegram/SourceFiles/settings/settings_folders.cpp.orig |
|||
+++ Telegram/SourceFiles/settings/settings_folders.cpp |
|||
@@ -696,7 +696,7 @@ void FilterRowButton::paintEvent(QPaintEvent *e) { |
|||
row.removePeers |
|||
) | ranges::views::transform([](not_null<PeerData*> peer) { |
|||
return MTPInputPeer(peer->input); |
|||
- }) | ranges::to<QVector>(); |
|||
+ }) | ranges::to<QVector<MTPInputPeer>>(); |
|||
removeChatlistRequests.push_back( |
|||
MTPchatlists_LeaveChatlist( |
|||
MTP_inputChatlistDialogFilter(MTP_int(newId)), |
@ -0,0 +1,14 @@ |
|||
unbreak clang 13 build |
|||
|
|||
Index: Telegram/SourceFiles/window/window_filters_menu.cpp |
|||
--- Telegram/SourceFiles/window/window_filters_menu.cpp.orig |
|||
+++ Telegram/SourceFiles/window/window_filters_menu.cpp |
|||
@@ -494,7 +494,7 @@ void FiltersMenu::remove( |
|||
leave |
|||
) | ranges::views::transform([](not_null<PeerData*> peer) { |
|||
return MTPInputPeer(peer->input); |
|||
- }) | ranges::to<QVector>()) |
|||
+ }) | ranges::to<QVector<MTPInputPeer>>()) |
|||
)).done([=](const MTPUpdates &result) { |
|||
api->applyUpdates(result); |
|||
}).send(); |
Loading…
Reference in new issue