diff --git a/net-im/telegram-desktop/patches/libtgvoip-5.10.7.patchset b/net-im/telegram-desktop/patches/libtgvoip-5.11.1.patchset similarity index 99% rename from net-im/telegram-desktop/patches/libtgvoip-5.10.7.patchset rename to net-im/telegram-desktop/patches/libtgvoip-5.11.1.patchset index 009236562..f2df30618 100644 --- a/net-im/telegram-desktop/patches/libtgvoip-5.10.7.patchset +++ b/net-im/telegram-desktop/patches/libtgvoip-5.11.1.patchset @@ -1,6 +1,6 @@ -From 3a2543a615c1161ee684dc13db777dc5cf7a19ad Mon Sep 17 00:00:00 2001 +From f7ceaddf839fcaf407db1c156416dcb2cb4c9d11 Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> -Date: Tue, 4 Feb 2025 21:54:33 +1000 +Date: Sat, 15 Feb 2025 10:43:19 +0000 Subject: Add haiku support diff --git a/net-im/telegram-desktop/patches/pch_disable-5.10.7.patchset b/net-im/telegram-desktop/patches/pch_disable-5.11.1.patchset similarity index 98% rename from net-im/telegram-desktop/patches/pch_disable-5.10.7.patchset rename to net-im/telegram-desktop/patches/pch_disable-5.11.1.patchset index 94beada81..24379dded 100644 --- a/net-im/telegram-desktop/patches/pch_disable-5.10.7.patchset +++ b/net-im/telegram-desktop/patches/pch_disable-5.11.1.patchset @@ -1,15 +1,15 @@ -From 8d45b75307876b562feb61aa469f50b2570d6ac5 Mon Sep 17 00:00:00 2001 +From a85971103b2754a3c45c15ad77f47f9acb913782 Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> -Date: Fri, 24 Jan 2025 00:33:48 +0000 +Date: Sun, 16 Feb 2025 08:21:57 +0000 Subject: Add PCH file diff --git a/pch_disable.patchset b/pch_disable.patchset new file mode 100644 -index 0000000..a4a93d3 +index 0000000..5e8e56a --- /dev/null +++ b/pch_disable.patchset -@@ -0,0 +1,11395 @@ +@@ -0,0 +1,11423 @@ +diff --git a/Telegram/SourceFiles/api/api_attached_stickers.cpp b/Telegram/SourceFiles/api/api_attached_stickers.cpp +index 0f18e76..f7147e2 100644 +--- a/Telegram/SourceFiles/api/api_attached_stickers.cpp @@ -20,7 +20,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/api/api_authorizations.cpp b/Telegram/SourceFiles/api/api_authorizations.cpp -+index 78e463c..7e92d82 100644 ++index 6cd2882..95352e0 100644 +--- a/Telegram/SourceFiles/api/api_authorizations.cpp ++++ b/Telegram/SourceFiles/api/api_authorizations.cpp +@@ -1,3 +1,4 @@ @@ -137,7 +137,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/api/api_editing.cpp b/Telegram/SourceFiles/api/api_editing.cpp -+index 313d6bf..3b60127 100644 ++index 4f5073a..ac853c3 100644 +--- a/Telegram/SourceFiles/api/api_editing.cpp ++++ b/Telegram/SourceFiles/api/api_editing.cpp +@@ -1,3 +1,4 @@ @@ -146,7 +146,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/api/api_global_privacy.cpp b/Telegram/SourceFiles/api/api_global_privacy.cpp -+index 83ad8d1..51158e6 100644 ++index 9e2ab1a..d570a1b 100644 +--- a/Telegram/SourceFiles/api/api_global_privacy.cpp ++++ b/Telegram/SourceFiles/api/api_global_privacy.cpp +@@ -1,3 +1,4 @@ @@ -173,7 +173,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/api/api_media.cpp b/Telegram/SourceFiles/api/api_media.cpp -+index 3bbc00f..49f2f09 100644 ++index f733169..384b5a6 100644 +--- a/Telegram/SourceFiles/api/api_media.cpp ++++ b/Telegram/SourceFiles/api/api_media.cpp +@@ -1,3 +1,4 @@ @@ -227,7 +227,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/api/api_premium.cpp b/Telegram/SourceFiles/api/api_premium.cpp -+index 58b2d46..b8b6079 100644 ++index 3bd36b4..773c706 100644 +--- a/Telegram/SourceFiles/api/api_premium.cpp ++++ b/Telegram/SourceFiles/api/api_premium.cpp +@@ -1,3 +1,4 @@ @@ -281,7 +281,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/api/api_sending.cpp b/Telegram/SourceFiles/api/api_sending.cpp -+index 193e2e7..98dd59e 100644 ++index 80b6f10..7e61d0d 100644 +--- a/Telegram/SourceFiles/api/api_sending.cpp ++++ b/Telegram/SourceFiles/api/api_sending.cpp +@@ -1,3 +1,4 @@ @@ -371,7 +371,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/api/api_updates.cpp b/Telegram/SourceFiles/api/api_updates.cpp -+index c55fb0d..7f2f57b 100644 ++index 89ece13..12dd35a 100644 +--- a/Telegram/SourceFiles/api/api_updates.cpp ++++ b/Telegram/SourceFiles/api/api_updates.cpp +@@ -1,3 +1,4 @@ @@ -425,7 +425,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/apiwrap.cpp b/Telegram/SourceFiles/apiwrap.cpp -+index d15a73f..f7635a5 100644 ++index edaea59..56d0dca 100644 +--- a/Telegram/SourceFiles/apiwrap.cpp ++++ b/Telegram/SourceFiles/apiwrap.cpp +@@ -1,3 +1,4 @@ @@ -574,7 +574,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/edit_caption_box.cpp b/Telegram/SourceFiles/boxes/edit_caption_box.cpp -+index ae2cbc3..8dc6422 100644 ++index 25501bd..fc12ea4 100644 +--- a/Telegram/SourceFiles/boxes/edit_caption_box.cpp ++++ b/Telegram/SourceFiles/boxes/edit_caption_box.cpp +@@ -1,3 +1,5 @@ @@ -646,7 +646,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/gift_premium_box.cpp b/Telegram/SourceFiles/boxes/gift_premium_box.cpp -+index bc226f6..ced0250 100644 ++index db9eaf3..b28c5bf 100644 +--- a/Telegram/SourceFiles/boxes/gift_premium_box.cpp ++++ b/Telegram/SourceFiles/boxes/gift_premium_box.cpp +@@ -1,3 +1,5 @@ @@ -686,7 +686,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/moderate_messages_box.cpp b/Telegram/SourceFiles/boxes/moderate_messages_box.cpp -+index 49df5b0..571ae9f 100644 ++index 8007b93..8f1b7ed 100644 +--- a/Telegram/SourceFiles/boxes/moderate_messages_box.cpp ++++ b/Telegram/SourceFiles/boxes/moderate_messages_box.cpp +@@ -1,3 +1,5 @@ @@ -706,7 +706,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/peer_list_box.cpp b/Telegram/SourceFiles/boxes/peer_list_box.cpp -+index 69d304a..9726181 100644 ++index 8d4b60b..462e8e3 100644 +--- a/Telegram/SourceFiles/boxes/peer_list_box.cpp ++++ b/Telegram/SourceFiles/boxes/peer_list_box.cpp +@@ -1,3 +1,5 @@ @@ -843,7 +843,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/peers/edit_peer_color_box.cpp b/Telegram/SourceFiles/boxes/peers/edit_peer_color_box.cpp -+index 8b827dc..ada83eb 100644 ++index 73b3004..c79eb0e 100644 +--- a/Telegram/SourceFiles/boxes/peers/edit_peer_color_box.cpp ++++ b/Telegram/SourceFiles/boxes/peers/edit_peer_color_box.cpp +@@ -1,3 +1,6 @@ @@ -952,7 +952,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/peers/peer_short_info_box.cpp b/Telegram/SourceFiles/boxes/peers/peer_short_info_box.cpp -+index 0275358..b74694f 100644 ++index 12fab35..32315de 100644 +--- a/Telegram/SourceFiles/boxes/peers/peer_short_info_box.cpp ++++ b/Telegram/SourceFiles/boxes/peers/peer_short_info_box.cpp +@@ -1,3 +1,6 @@ @@ -1025,7 +1025,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/premium_preview_box.cpp b/Telegram/SourceFiles/boxes/premium_preview_box.cpp -+index 570fb75..bf03f62 100644 ++index 53c6a67..4aff7e3 100644 +--- a/Telegram/SourceFiles/boxes/premium_preview_box.cpp ++++ b/Telegram/SourceFiles/boxes/premium_preview_box.cpp +@@ -1,3 +1,5 @@ @@ -1085,7 +1085,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/send_files_box.cpp b/Telegram/SourceFiles/boxes/send_files_box.cpp -+index 7eb1a67..3ef0c4c 100644 ++index b7e987b..e9a2f54 100644 +--- a/Telegram/SourceFiles/boxes/send_files_box.cpp ++++ b/Telegram/SourceFiles/boxes/send_files_box.cpp +@@ -1,3 +1,5 @@ @@ -1105,7 +1105,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/share_box.cpp b/Telegram/SourceFiles/boxes/share_box.cpp -+index be47e59..99a4e85 100644 ++index 437d759..f4d4b8b 100644 +--- a/Telegram/SourceFiles/boxes/share_box.cpp ++++ b/Telegram/SourceFiles/boxes/share_box.cpp +@@ -1,3 +1,5 @@ @@ -1115,7 +1115,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/star_gift_box.cpp b/Telegram/SourceFiles/boxes/star_gift_box.cpp -+index dbfa609..7d2e76d 100644 ++index c99b649..efe1e70 100644 +--- a/Telegram/SourceFiles/boxes/star_gift_box.cpp ++++ b/Telegram/SourceFiles/boxes/star_gift_box.cpp +@@ -1,3 +1,5 @@ @@ -1230,7 +1230,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/calls/calls_instance.cpp b/Telegram/SourceFiles/calls/calls_instance.cpp -+index 7d57937..ec6f05b 100644 ++index 02c5fb1..edab213 100644 +--- a/Telegram/SourceFiles/calls/calls_instance.cpp ++++ b/Telegram/SourceFiles/calls/calls_instance.cpp +@@ -1,3 +1,4 @@ @@ -1239,7 +1239,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/calls/calls_panel.cpp b/Telegram/SourceFiles/calls/calls_panel.cpp -+index 74ddcb8..8e3a75a 100644 ++index 6732166..f0a1da4 100644 +--- a/Telegram/SourceFiles/calls/calls_panel.cpp ++++ b/Telegram/SourceFiles/calls/calls_panel.cpp +@@ -1,3 +1,4 @@ @@ -1338,7 +1338,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/calls/group/calls_group_members.cpp b/Telegram/SourceFiles/calls/group/calls_group_members.cpp -+index 2853340..d6588d2 100644 ++index 928c3b1..8fc4c0c 100644 +--- a/Telegram/SourceFiles/calls/group/calls_group_members.cpp ++++ b/Telegram/SourceFiles/calls/group/calls_group_members.cpp +@@ -1,3 +1,4 @@ @@ -1383,7 +1383,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/calls/group/calls_group_settings.cpp b/Telegram/SourceFiles/calls/group/calls_group_settings.cpp -+index 2693393..e48e5cb 100644 ++index 7ae977b..cf11f10 100644 +--- a/Telegram/SourceFiles/calls/group/calls_group_settings.cpp ++++ b/Telegram/SourceFiles/calls/group/calls_group_settings.cpp +@@ -1,3 +1,4 @@ @@ -1437,7 +1437,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/calls/group/calls_volume_item.cpp b/Telegram/SourceFiles/calls/group/calls_volume_item.cpp -+index d34a510..1de19d2 100644 ++index 69529b9..410258c 100644 +--- a/Telegram/SourceFiles/calls/group/calls_volume_item.cpp ++++ b/Telegram/SourceFiles/calls/group/calls_volume_item.cpp +@@ -1,3 +1,4 @@ @@ -1527,7 +1527,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/chat_helpers/emoji_list_widget.cpp b/Telegram/SourceFiles/chat_helpers/emoji_list_widget.cpp -+index edfa0ff..5178458 100644 ++index 51d2882..5d70dbd 100644 +--- a/Telegram/SourceFiles/chat_helpers/emoji_list_widget.cpp ++++ b/Telegram/SourceFiles/chat_helpers/emoji_list_widget.cpp +@@ -1,3 +1,4 @@ @@ -1662,7 +1662,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/chat_helpers/stickers_lottie.cpp b/Telegram/SourceFiles/chat_helpers/stickers_lottie.cpp -+index 1a189fa..151a7fd 100644 ++index 04ceda9..d2e72f0 100644 +--- a/Telegram/SourceFiles/chat_helpers/stickers_lottie.cpp ++++ b/Telegram/SourceFiles/chat_helpers/stickers_lottie.cpp +@@ -1,3 +1,4 @@ @@ -1671,7 +1671,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/chat_helpers/tabbed_panel.cpp b/Telegram/SourceFiles/chat_helpers/tabbed_panel.cpp -+index da08389..9118574 100644 ++index 5ff9b9a..bcf907c 100644 +--- a/Telegram/SourceFiles/chat_helpers/tabbed_panel.cpp ++++ b/Telegram/SourceFiles/chat_helpers/tabbed_panel.cpp +@@ -1,3 +1,4 @@ @@ -1836,7 +1836,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/core/local_url_handlers.cpp b/Telegram/SourceFiles/core/local_url_handlers.cpp -+index 3eda30a..04b31df 100644 ++index c1e6785..f2993e5 100644 +--- a/Telegram/SourceFiles/core/local_url_handlers.cpp ++++ b/Telegram/SourceFiles/core/local_url_handlers.cpp +@@ -1,3 +1,5 @@ @@ -1875,7 +1875,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/core/shortcuts.cpp b/Telegram/SourceFiles/core/shortcuts.cpp -+index 8c0727d..53713d8 100644 ++index fe7809b..45a7ce5 100644 +--- a/Telegram/SourceFiles/core/shortcuts.cpp ++++ b/Telegram/SourceFiles/core/shortcuts.cpp +@@ -1,3 +1,5 @@ @@ -2128,7 +2128,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_channel.cpp b/Telegram/SourceFiles/data/data_channel.cpp -+index 2204152..20caf0e 100644 ++index 79b9fe4..bfd186f 100644 +--- a/Telegram/SourceFiles/data/data_channel.cpp ++++ b/Telegram/SourceFiles/data/data_channel.cpp +@@ -1,3 +1,5 @@ @@ -2198,7 +2198,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_document.cpp b/Telegram/SourceFiles/data/data_document.cpp -+index c14d29b..dd53f0f 100644 ++index c6befff..f9c5512 100644 +--- a/Telegram/SourceFiles/data/data_document.cpp ++++ b/Telegram/SourceFiles/data/data_document.cpp +@@ -1,3 +1,5 @@ @@ -2208,7 +2208,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_document.h b/Telegram/SourceFiles/data/data_document.h -+index 6aa21ca..a2489dc 100644 ++index f91f828..d75ec1a 100644 +--- a/Telegram/SourceFiles/data/data_document.h ++++ b/Telegram/SourceFiles/data/data_document.h +@@ -1,3 +1,4 @@ @@ -2277,7 +2277,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_file_origin.cpp b/Telegram/SourceFiles/data/data_file_origin.cpp -+index 06c39cb..7612ca6 100644 ++index e928458..2a77591 100644 +--- a/Telegram/SourceFiles/data/data_file_origin.cpp ++++ b/Telegram/SourceFiles/data/data_file_origin.cpp +@@ -1,3 +1,5 @@ @@ -2317,7 +2317,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_forum_topic.cpp b/Telegram/SourceFiles/data/data_forum_topic.cpp -+index d8ebb39..59e66ab 100644 ++index 7e79988..26ac997 100644 +--- a/Telegram/SourceFiles/data/data_forum_topic.cpp ++++ b/Telegram/SourceFiles/data/data_forum_topic.cpp +@@ -1,3 +1,5 @@ @@ -2414,7 +2414,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_media_types.cpp b/Telegram/SourceFiles/data/data_media_types.cpp -+index b3d5700..116055c 100644 ++index 02c1299..18f1880 100644 +--- a/Telegram/SourceFiles/data/data_media_types.cpp ++++ b/Telegram/SourceFiles/data/data_media_types.cpp +@@ -1,3 +1,5 @@ @@ -2434,7 +2434,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_message_reactions.cpp b/Telegram/SourceFiles/data/data_message_reactions.cpp -+index a3e581a..1e7a218 100644 ++index e5dd4cd..6457fd3 100644 +--- a/Telegram/SourceFiles/data/data_message_reactions.cpp ++++ b/Telegram/SourceFiles/data/data_message_reactions.cpp +@@ -1,3 +1,5 @@ @@ -2614,7 +2614,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_session.cpp b/Telegram/SourceFiles/data/data_session.cpp -+index 42bc9b3..4f0bc1e 100644 ++index 3184aff..ea29742 100644 +--- a/Telegram/SourceFiles/data/data_session.cpp ++++ b/Telegram/SourceFiles/data/data_session.cpp +@@ -1,3 +1,5 @@ @@ -2653,7 +2653,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_stories.cpp b/Telegram/SourceFiles/data/data_stories.cpp -+index bb08bca..d06a9c5 100644 ++index 1aac110..f811f10 100644 +--- a/Telegram/SourceFiles/data/data_stories.cpp ++++ b/Telegram/SourceFiles/data/data_stories.cpp +@@ -1,3 +1,5 @@ @@ -2763,7 +2763,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_web_page.cpp b/Telegram/SourceFiles/data/data_web_page.cpp -+index 5ab3f6b..49622dc 100644 ++index bd14735..23c3990 100644 +--- a/Telegram/SourceFiles/data/data_web_page.cpp ++++ b/Telegram/SourceFiles/data/data_web_page.cpp +@@ -1,3 +1,5 @@ @@ -2852,7 +2852,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/dialogs/dialogs_inner_widget.cpp b/Telegram/SourceFiles/dialogs/dialogs_inner_widget.cpp -+index 83b55be..0df7061 100644 ++index 54ea9eb..eaef0f0 100644 +--- a/Telegram/SourceFiles/dialogs/dialogs_inner_widget.cpp ++++ b/Telegram/SourceFiles/dialogs/dialogs_inner_widget.cpp +@@ -1,3 +1,5 @@ @@ -2902,7 +2902,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/dialogs/dialogs_row.cpp b/Telegram/SourceFiles/dialogs/dialogs_row.cpp -+index a9dae4d..6801092 100644 ++index c39133e..d0f5305 100644 +--- a/Telegram/SourceFiles/dialogs/dialogs_row.cpp ++++ b/Telegram/SourceFiles/dialogs/dialogs_row.cpp +@@ -1,3 +1,5 @@ @@ -2932,7 +2932,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/dialogs/dialogs_widget.cpp b/Telegram/SourceFiles/dialogs/dialogs_widget.cpp -+index 496ad41..2b14179 100644 ++index 752e431..9c2a2f7 100644 +--- a/Telegram/SourceFiles/dialogs/dialogs_widget.cpp ++++ b/Telegram/SourceFiles/dialogs/dialogs_widget.cpp +@@ -1,3 +1,5 @@ @@ -2960,7 +2960,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/dialogs/ui/dialogs_layout.cpp b/Telegram/SourceFiles/dialogs/ui/dialogs_layout.cpp -+index 13b69c1..e170ba6 100644 ++index 7292243..ce289a6 100644 +--- a/Telegram/SourceFiles/dialogs/ui/dialogs_layout.cpp ++++ b/Telegram/SourceFiles/dialogs/ui/dialogs_layout.cpp +@@ -1,3 +1,5 @@ @@ -3067,7 +3067,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/editor/editor_crop.cpp b/Telegram/SourceFiles/editor/editor_crop.cpp -+index 54f8369..e91ef60 100644 ++index b528881..1cef1ac 100644 +--- a/Telegram/SourceFiles/editor/editor_crop.cpp ++++ b/Telegram/SourceFiles/editor/editor_crop.cpp +@@ -1,3 +1,4 @@ @@ -3134,7 +3134,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/editor/photo_editor_layer_widget.cpp b/Telegram/SourceFiles/editor/photo_editor_layer_widget.cpp -+index 33ed5e8..dffcbad 100644 ++index 257e47e..34711d7 100644 +--- a/Telegram/SourceFiles/editor/photo_editor_layer_widget.cpp ++++ b/Telegram/SourceFiles/editor/photo_editor_layer_widget.cpp +@@ -1,3 +1,5 @@ @@ -3280,7 +3280,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/export/output/export_output_json.cpp b/Telegram/SourceFiles/export/output/export_output_json.cpp -+index 9d40b60..1707b1b 100644 ++index dee8d1e..a309b20 100644 +--- a/Telegram/SourceFiles/export/output/export_output_json.cpp ++++ b/Telegram/SourceFiles/export/output/export_output_json.cpp +@@ -1,3 +1,4 @@ @@ -3387,7 +3387,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/history.cpp b/Telegram/SourceFiles/history/history.cpp -+index 75047ad..76877f3 100644 ++index 7393dee..1f50b86 100644 +--- a/Telegram/SourceFiles/history/history.cpp ++++ b/Telegram/SourceFiles/history/history.cpp +@@ -1,3 +1,5 @@ @@ -3407,7 +3407,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/history_inner_widget.cpp b/Telegram/SourceFiles/history/history_inner_widget.cpp -+index 8a3c5e2..8b8632d 100644 ++index c8192f3..4b317b0 100644 +--- a/Telegram/SourceFiles/history/history_inner_widget.cpp ++++ b/Telegram/SourceFiles/history/history_inner_widget.cpp +@@ -1,3 +1,5 @@ @@ -3417,7 +3417,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/history_item.cpp b/Telegram/SourceFiles/history/history_item.cpp -+index 719ae4f..30c6e49 100644 ++index 8bd1c4f..d72dc27 100644 +--- a/Telegram/SourceFiles/history/history_item.cpp ++++ b/Telegram/SourceFiles/history/history_item.cpp +@@ -1,3 +1,5 @@ @@ -3427,7 +3427,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/history_item_components.cpp b/Telegram/SourceFiles/history/history_item_components.cpp -+index 2fe9941..c7ca8d6 100644 ++index d71e861..368fa72 100644 +--- a/Telegram/SourceFiles/history/history_item_components.cpp ++++ b/Telegram/SourceFiles/history/history_item_components.cpp +@@ -1,3 +1,5 @@ @@ -3535,7 +3535,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/history_widget.cpp b/Telegram/SourceFiles/history/history_widget.cpp -+index b5fd331..962a09f 100644 ++index 88060ec..5995bb9 100644 +--- a/Telegram/SourceFiles/history/history_widget.cpp ++++ b/Telegram/SourceFiles/history/history_widget.cpp +@@ -1,3 +1,5 @@ @@ -3583,7 +3583,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/controls/history_view_draft_options.cpp b/Telegram/SourceFiles/history/view/controls/history_view_draft_options.cpp -+index 2128403..3ef2f2e 100644 ++index 2d03f6d..4eb9d82 100644 +--- a/Telegram/SourceFiles/history/view/controls/history_view_draft_options.cpp ++++ b/Telegram/SourceFiles/history/view/controls/history_view_draft_options.cpp +@@ -1,3 +1,5 @@ @@ -3593,7 +3593,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/controls/history_view_forward_panel.cpp b/Telegram/SourceFiles/history/view/controls/history_view_forward_panel.cpp -+index 239108e..58994c5 100644 ++index 022b124..351aed2 100644 +--- a/Telegram/SourceFiles/history/view/controls/history_view_forward_panel.cpp ++++ b/Telegram/SourceFiles/history/view/controls/history_view_forward_panel.cpp +@@ -1,3 +1,5 @@ @@ -3642,7 +3642,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/history_view_about_view.cpp b/Telegram/SourceFiles/history/view/history_view_about_view.cpp -+index 10f4bd8..fe9430c 100644 ++index 452f595..e2d1f81 100644 +--- a/Telegram/SourceFiles/history/view/history_view_about_view.cpp ++++ b/Telegram/SourceFiles/history/view/history_view_about_view.cpp +@@ -1,3 +1,5 @@ @@ -3682,7 +3682,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/history_view_context_menu.cpp b/Telegram/SourceFiles/history/view/history_view_context_menu.cpp -+index a23f102..f4ea066 100644 ++index 678f59a..d7419e8 100644 +--- a/Telegram/SourceFiles/history/view/history_view_context_menu.cpp ++++ b/Telegram/SourceFiles/history/view/history_view_context_menu.cpp +@@ -1,3 +1,5 @@ @@ -3762,7 +3762,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/history_view_list_widget.cpp b/Telegram/SourceFiles/history/view/history_view_list_widget.cpp -+index 569e62e..fe9a6ea 100644 ++index 10cea51..21926f8 100644 +--- a/Telegram/SourceFiles/history/view/history_view_list_widget.cpp ++++ b/Telegram/SourceFiles/history/view/history_view_list_widget.cpp +@@ -1,3 +1,5 @@ @@ -3772,7 +3772,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/history_view_message.cpp b/Telegram/SourceFiles/history/view/history_view_message.cpp -+index c280693..ed754ff 100644 ++index ce8bdb9..cff043c 100644 +--- a/Telegram/SourceFiles/history/view/history_view_message.cpp ++++ b/Telegram/SourceFiles/history/view/history_view_message.cpp +@@ -1,3 +1,5 @@ @@ -3782,7 +3782,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/history_view_paid_reaction_toast.cpp b/Telegram/SourceFiles/history/view/history_view_paid_reaction_toast.cpp -+index d79ec10..9a849ff 100644 ++index 2fd7945..1cf3fe2 100644 +--- a/Telegram/SourceFiles/history/view/history_view_paid_reaction_toast.cpp ++++ b/Telegram/SourceFiles/history/view/history_view_paid_reaction_toast.cpp +@@ -1,3 +1,5 @@ @@ -3832,7 +3832,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/history_view_replies_section.cpp b/Telegram/SourceFiles/history/view/history_view_replies_section.cpp -+index 8fc14b2..b6634ba 100644 ++index a899e94..490a6f1 100644 +--- a/Telegram/SourceFiles/history/view/history_view_replies_section.cpp ++++ b/Telegram/SourceFiles/history/view/history_view_replies_section.cpp +@@ -1,3 +1,5 @@ @@ -4042,7 +4042,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/media/history_view_document.cpp b/Telegram/SourceFiles/history/view/media/history_view_document.cpp -+index 14f6a02..0cc329e 100644 ++index 84f0668..9dc4d5b 100644 +--- a/Telegram/SourceFiles/history/view/media/history_view_document.cpp ++++ b/Telegram/SourceFiles/history/view/media/history_view_document.cpp +@@ -1,3 +1,5 @@ @@ -4062,7 +4062,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/media/history_view_game.cpp b/Telegram/SourceFiles/history/view/media/history_view_game.cpp -+index d8a92fd..d34f543 100644 ++index 5bd71f4..7930447 100644 +--- a/Telegram/SourceFiles/history/view/media/history_view_game.cpp ++++ b/Telegram/SourceFiles/history/view/media/history_view_game.cpp +@@ -1,3 +1,5 @@ @@ -4072,7 +4072,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/media/history_view_gif.cpp b/Telegram/SourceFiles/history/view/media/history_view_gif.cpp -+index 389ffa1..e3e052e 100644 ++index 8f76983..7c7edb1 100644 +--- a/Telegram/SourceFiles/history/view/media/history_view_gif.cpp ++++ b/Telegram/SourceFiles/history/view/media/history_view_gif.cpp +@@ -1,3 +1,5 @@ @@ -4202,7 +4202,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/media/history_view_premium_gift.cpp b/Telegram/SourceFiles/history/view/media/history_view_premium_gift.cpp -+index cd8da2c..a65c8c0 100644 ++index 700d6a1..c03e4b5 100644 +--- a/Telegram/SourceFiles/history/view/media/history_view_premium_gift.cpp ++++ b/Telegram/SourceFiles/history/view/media/history_view_premium_gift.cpp +@@ -1,3 +1,5 @@ @@ -4212,7 +4212,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/media/history_view_service_box.cpp b/Telegram/SourceFiles/history/view/media/history_view_service_box.cpp -+index fc81e9f..0b38187 100644 ++index 08444c4..524c94c 100644 +--- a/Telegram/SourceFiles/history/view/media/history_view_service_box.cpp ++++ b/Telegram/SourceFiles/history/view/media/history_view_service_box.cpp +@@ -1,3 +1,5 @@ @@ -4262,7 +4262,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/media/history_view_story_mention.cpp b/Telegram/SourceFiles/history/view/media/history_view_story_mention.cpp -+index a2b2d65..6f8baf5 100644 ++index 7356e7b..69cf32c 100644 +--- a/Telegram/SourceFiles/history/view/media/history_view_story_mention.cpp ++++ b/Telegram/SourceFiles/history/view/media/history_view_story_mention.cpp +@@ -1,3 +1,5 @@ @@ -4272,7 +4272,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/media/history_view_theme_document.cpp b/Telegram/SourceFiles/history/view/media/history_view_theme_document.cpp -+index ba324f7..84b9171 100644 ++index 16ca490..79efcaa 100644 +--- a/Telegram/SourceFiles/history/view/media/history_view_theme_document.cpp ++++ b/Telegram/SourceFiles/history/view/media/history_view_theme_document.cpp +@@ -1,3 +1,5 @@ @@ -4282,7 +4282,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/media/history_view_unique_gift.cpp b/Telegram/SourceFiles/history/view/media/history_view_unique_gift.cpp -+index 744b3bd..376c5f6 100644 ++index 27ca9c5..f55a185 100644 +--- a/Telegram/SourceFiles/history/view/media/history_view_unique_gift.cpp ++++ b/Telegram/SourceFiles/history/view/media/history_view_unique_gift.cpp +@@ -1,3 +1,5 @@ @@ -4292,7 +4292,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/media/history_view_userpic_suggestion.cpp b/Telegram/SourceFiles/history/view/media/history_view_userpic_suggestion.cpp -+index 22cdd47..a8ed553 100644 ++index 6e5252a..98fcef4 100644 +--- a/Telegram/SourceFiles/history/view/media/history_view_userpic_suggestion.cpp ++++ b/Telegram/SourceFiles/history/view/media/history_view_userpic_suggestion.cpp +@@ -1,3 +1,5 @@ @@ -4302,7 +4302,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/media/history_view_web_page.cpp b/Telegram/SourceFiles/history/view/media/history_view_web_page.cpp -+index 9264327..b660722 100644 ++index b0ab089..88e7f90 100644 +--- a/Telegram/SourceFiles/history/view/media/history_view_web_page.cpp ++++ b/Telegram/SourceFiles/history/view/media/history_view_web_page.cpp +@@ -1,3 +1,5 @@ @@ -4678,7 +4678,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/info_top_bar.cpp b/Telegram/SourceFiles/info/info_top_bar.cpp -+index 0b4d4b3..12f51ad 100644 ++index a6dd089..65a8a42 100644 +--- a/Telegram/SourceFiles/info/info_top_bar.cpp ++++ b/Telegram/SourceFiles/info/info_top_bar.cpp +@@ -1,3 +1,5 @@ @@ -4688,7 +4688,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/info_wrap_widget.cpp b/Telegram/SourceFiles/info/info_wrap_widget.cpp -+index 2e81fe6..4ffbdd6 100644 ++index 15f98f7..0011587 100644 +--- a/Telegram/SourceFiles/info/info_wrap_widget.cpp ++++ b/Telegram/SourceFiles/info/info_wrap_widget.cpp +@@ -1,3 +1,5 @@ @@ -4697,6 +4697,16 @@ index 0000000..a4a93d3 + /* + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. ++diff --git a/Telegram/SourceFiles/info/media/info_media_buttons.cpp b/Telegram/SourceFiles/info/media/info_media_buttons.cpp ++index 12d7827..81dd5ed 100644 ++--- a/Telegram/SourceFiles/info/media/info_media_buttons.cpp +++++ b/Telegram/SourceFiles/info/media/info_media_buttons.cpp ++@@ -1,3 +1,5 @@ +++#include "ui/ui_pch.h" +++#include "stdafx.h" ++ /* ++ This file is part of Telegram Desktop, ++ the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/media/info_media_common.cpp b/Telegram/SourceFiles/info/media/info_media_common.cpp +index 6791b13..dc900af 100644 +--- a/Telegram/SourceFiles/info/media/info_media_common.cpp @@ -4718,7 +4728,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/media/info_media_inner_widget.cpp b/Telegram/SourceFiles/info/media/info_media_inner_widget.cpp -+index eed9325..2467ce5 100644 ++index 6f2beda..b365ef8 100644 +--- a/Telegram/SourceFiles/info/media/info_media_inner_widget.cpp ++++ b/Telegram/SourceFiles/info/media/info_media_inner_widget.cpp +@@ -1,3 +1,5 @@ @@ -4778,7 +4788,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/peer_gifts/info_peer_gifts_common.cpp b/Telegram/SourceFiles/info/peer_gifts/info_peer_gifts_common.cpp -+index 14a07a6..c13db9d 100644 ++index 798d218..62ccab7 100644 +--- a/Telegram/SourceFiles/info/peer_gifts/info_peer_gifts_common.cpp ++++ b/Telegram/SourceFiles/info/peer_gifts/info_peer_gifts_common.cpp +@@ -1,3 +1,5 @@ @@ -4788,7 +4798,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/peer_gifts/info_peer_gifts_widget.cpp b/Telegram/SourceFiles/info/peer_gifts/info_peer_gifts_widget.cpp -+index 75b27c6..36c55ae 100644 ++index 9656bd0..471c787 100644 +--- a/Telegram/SourceFiles/info/peer_gifts/info_peer_gifts_widget.cpp ++++ b/Telegram/SourceFiles/info/peer_gifts/info_peer_gifts_widget.cpp +@@ -1,3 +1,5 @@ @@ -4798,7 +4808,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/polls/info_polls_results_inner_widget.cpp b/Telegram/SourceFiles/info/polls/info_polls_results_inner_widget.cpp -+index d2b8b31..0e986d2 100644 ++index 18fdcce..dcbb83e 100644 +--- a/Telegram/SourceFiles/info/polls/info_polls_results_inner_widget.cpp ++++ b/Telegram/SourceFiles/info/polls/info_polls_results_inner_widget.cpp +@@ -1,3 +1,5 @@ @@ -4818,11 +4828,10 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/profile/info_profile_actions.cpp b/Telegram/SourceFiles/info/profile/info_profile_actions.cpp -+index ffa2472..a753305 100644 ++index b313aee..27a20d6 100644 +--- a/Telegram/SourceFiles/info/profile/info_profile_actions.cpp ++++ b/Telegram/SourceFiles/info/profile/info_profile_actions.cpp -+@@ -1,3 +1,5 @@ -++#include "ui/ui_pch.h" ++@@ -1,3 +1,4 @@ ++#include "stdafx.h" + /* + This file is part of Telegram Desktop, @@ -4867,7 +4876,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/profile/info_profile_inner_widget.cpp b/Telegram/SourceFiles/info/profile/info_profile_inner_widget.cpp -+index 4ab34cb..d0bdb7f 100644 ++index 42594dd..be4fd40 100644 +--- a/Telegram/SourceFiles/info/profile/info_profile_inner_widget.cpp ++++ b/Telegram/SourceFiles/info/profile/info_profile_inner_widget.cpp +@@ -1,3 +1,5 @@ @@ -4957,7 +4966,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/saved/info_saved_sublists_widget.cpp b/Telegram/SourceFiles/info/saved/info_saved_sublists_widget.cpp -+index 3a3ff46..3facdf8 100644 ++index 9a07088..e86b11d 100644 +--- a/Telegram/SourceFiles/info/saved/info_saved_sublists_widget.cpp ++++ b/Telegram/SourceFiles/info/saved/info_saved_sublists_widget.cpp +@@ -1,3 +1,5 @@ @@ -5027,7 +5036,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/stories/info_stories_inner_widget.cpp b/Telegram/SourceFiles/info/stories/info_stories_inner_widget.cpp -+index c83795c..58898a4 100644 ++index d0ab12c..72c2a83 100644 +--- a/Telegram/SourceFiles/info/stories/info_stories_inner_widget.cpp ++++ b/Telegram/SourceFiles/info/stories/info_stories_inner_widget.cpp +@@ -1,3 +1,5 @@ @@ -5306,7 +5315,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/iv/iv_controller.cpp b/Telegram/SourceFiles/iv/iv_controller.cpp -+index c0e6ce9..437bab6 100644 ++index d35cd84..61755e9 100644 +--- a/Telegram/SourceFiles/iv/iv_controller.cpp ++++ b/Telegram/SourceFiles/iv/iv_controller.cpp +@@ -1,3 +1,5 @@ @@ -5316,7 +5325,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/iv/iv_data.cpp b/Telegram/SourceFiles/iv/iv_data.cpp -+index 16f9c0d..60b0135 100644 ++index 8d424c9..354670f 100644 +--- a/Telegram/SourceFiles/iv/iv_data.cpp ++++ b/Telegram/SourceFiles/iv/iv_data.cpp +@@ -1,3 +1,5 @@ @@ -5553,7 +5562,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/main/main_session.cpp b/Telegram/SourceFiles/main/main_session.cpp -+index 7f398e0..e0f1f16 100644 ++index 2d846d3..b5a3177 100644 +--- a/Telegram/SourceFiles/main/main_session.cpp ++++ b/Telegram/SourceFiles/main/main_session.cpp +@@ -1,3 +1,4 @@ @@ -5562,7 +5571,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/main/main_session_settings.cpp b/Telegram/SourceFiles/main/main_session_settings.cpp -+index 253116d..bda8fee 100644 ++index 7d13cde..d3a4388 100644 +--- a/Telegram/SourceFiles/main/main_session_settings.cpp ++++ b/Telegram/SourceFiles/main/main_session_settings.cpp +@@ -1,3 +1,4 @@ @@ -5571,7 +5580,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/main/session/send_as_peers.cpp b/Telegram/SourceFiles/main/session/send_as_peers.cpp -+index 050c87f..9e034e7 100644 ++index e8bdaf0..61b4ee2 100644 +--- a/Telegram/SourceFiles/main/session/send_as_peers.cpp ++++ b/Telegram/SourceFiles/main/session/send_as_peers.cpp +@@ -1,3 +1,4 @@ @@ -5589,7 +5598,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/mainwidget.cpp b/Telegram/SourceFiles/mainwidget.cpp -+index 1af7432..20c11b3 100644 ++index f4ba698..3d03f6d 100644 +--- a/Telegram/SourceFiles/mainwidget.cpp ++++ b/Telegram/SourceFiles/mainwidget.cpp +@@ -1,3 +1,4 @@ @@ -5666,7 +5675,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/media/audio/media_audio_local_cache.cpp b/Telegram/SourceFiles/media/audio/media_audio_local_cache.cpp -+index dd1fa6d..ca8b66f 100644 ++index c8b90f7..f0bd00e 100644 +--- a/Telegram/SourceFiles/media/audio/media_audio_local_cache.cpp ++++ b/Telegram/SourceFiles/media/audio/media_audio_local_cache.cpp +@@ -1,3 +1,5 @@ @@ -5760,7 +5769,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/media/player/media_player_instance.cpp b/Telegram/SourceFiles/media/player/media_player_instance.cpp -+index 12792f3..cfdd869 100644 ++index de1932b..2de32b2 100644 +--- a/Telegram/SourceFiles/media/player/media_player_instance.cpp ++++ b/Telegram/SourceFiles/media/player/media_player_instance.cpp +@@ -1,3 +1,5 @@ @@ -5840,7 +5849,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/media/stories/media_stories_reactions.cpp b/Telegram/SourceFiles/media/stories/media_stories_reactions.cpp -+index 2ac9d29..362e593 100644 ++index e65443b..84f5a4a 100644 +--- a/Telegram/SourceFiles/media/stories/media_stories_reactions.cpp ++++ b/Telegram/SourceFiles/media/stories/media_stories_reactions.cpp +@@ -1,3 +1,5 @@ @@ -5880,7 +5889,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/media/stories/media_stories_share.cpp b/Telegram/SourceFiles/media/stories/media_stories_share.cpp -+index 02b379e..a06a05e 100644 ++index 67b1dc9..ffc13e9 100644 +--- a/Telegram/SourceFiles/media/stories/media_stories_share.cpp ++++ b/Telegram/SourceFiles/media/stories/media_stories_share.cpp +@@ -1,3 +1,5 @@ @@ -6068,6 +6077,16 @@ index 0000000..a4a93d3 + /* + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. ++diff --git a/Telegram/SourceFiles/media/view/media_view_open_common.cpp b/Telegram/SourceFiles/media/view/media_view_open_common.cpp ++index 346a87e..777f252 100644 ++--- a/Telegram/SourceFiles/media/view/media_view_open_common.cpp +++++ b/Telegram/SourceFiles/media/view/media_view_open_common.cpp ++@@ -1,3 +1,5 @@ +++#include "ui/ui_pch.h" +++#include "stdafx.h" ++ /* ++ This file is part of Telegram Desktop, ++ the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/media/view/media_view_overlay_opengl.cpp b/Telegram/SourceFiles/media/view/media_view_overlay_opengl.cpp +index 99be555..773d650 100644 +--- a/Telegram/SourceFiles/media/view/media_view_overlay_opengl.cpp @@ -6089,7 +6108,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/media/view/media_view_overlay_widget.cpp b/Telegram/SourceFiles/media/view/media_view_overlay_widget.cpp -+index 0df0d07..1148510 100644 ++index e752cc8..6ac4dc1 100644 +--- a/Telegram/SourceFiles/media/view/media_view_overlay_widget.cpp ++++ b/Telegram/SourceFiles/media/view/media_view_overlay_widget.cpp +@@ -1,3 +1,5 @@ @@ -6217,7 +6236,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/menu/menu_ttl_validator.cpp b/Telegram/SourceFiles/menu/menu_ttl_validator.cpp -+index a5ecac4..8a8f2d6 100644 ++index 1ea9d40..cc7e6d8 100644 +--- a/Telegram/SourceFiles/menu/menu_ttl_validator.cpp ++++ b/Telegram/SourceFiles/menu/menu_ttl_validator.cpp +@@ -1,3 +1,5 @@ @@ -6511,7 +6530,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/overview/overview_layout.cpp b/Telegram/SourceFiles/overview/overview_layout.cpp -+index 4357a17..80d0674 100644 ++index fd8468a..3ad37ce 100644 +--- a/Telegram/SourceFiles/overview/overview_layout.cpp ++++ b/Telegram/SourceFiles/overview/overview_layout.cpp +@@ -1,3 +1,4 @@ @@ -6688,7 +6707,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/payments/payments_reaction_process.cpp b/Telegram/SourceFiles/payments/payments_reaction_process.cpp -+index 7050fa1..1c05fe6 100644 ++index 94d5274..18a0d8e 100644 +--- a/Telegram/SourceFiles/payments/payments_reaction_process.cpp ++++ b/Telegram/SourceFiles/payments/payments_reaction_process.cpp +@@ -1,3 +1,5 @@ @@ -6856,7 +6875,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/payments/ui/payments_reaction_box.cpp b/Telegram/SourceFiles/payments/ui/payments_reaction_box.cpp -+index 399b18e..9f715de 100644 ++index 7cc513f..8d7778f 100644 +--- a/Telegram/SourceFiles/payments/ui/payments_reaction_box.cpp ++++ b/Telegram/SourceFiles/payments/ui/payments_reaction_box.cpp +@@ -1,3 +1,5 @@ @@ -6866,7 +6885,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/platform/linux/current_geo_location_linux.cpp b/Telegram/SourceFiles/platform/linux/current_geo_location_linux.cpp -+index f87c343..21b16e5 100644 ++index 9c528ef..9aaa7de 100644 +--- a/Telegram/SourceFiles/platform/linux/current_geo_location_linux.cpp ++++ b/Telegram/SourceFiles/platform/linux/current_geo_location_linux.cpp +@@ -1,3 +1,5 @@ @@ -6885,7 +6904,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/platform/linux/integration_linux.cpp b/Telegram/SourceFiles/platform/linux/integration_linux.cpp -+index 508199a..fb2d3c7 100644 ++index 111b33f..98ed636 100644 +--- a/Telegram/SourceFiles/platform/linux/integration_linux.cpp ++++ b/Telegram/SourceFiles/platform/linux/integration_linux.cpp +@@ -1,3 +1,4 @@ @@ -6912,7 +6931,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/platform/linux/notifications_manager_haiku.cpp b/Telegram/SourceFiles/platform/linux/notifications_manager_haiku.cpp -+index ed9f6a7..9880f8d 100644 ++index 0d7526d..6a234ff 100644 +--- a/Telegram/SourceFiles/platform/linux/notifications_manager_haiku.cpp ++++ b/Telegram/SourceFiles/platform/linux/notifications_manager_haiku.cpp +@@ -1,3 +1,4 @@ @@ -6921,7 +6940,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop for Haiku, + +diff --git a/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp b/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp -+index 0a51e5a..0181683 100644 ++index d03c83e..4171953 100644 +--- a/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp ++++ b/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp +@@ -1,3 +1,4 @@ @@ -6930,7 +6949,7 @@ index 0000000..a4a93d3 + /* + This file is part of Telegram Desktop, +diff --git a/Telegram/SourceFiles/platform/linux/specific_linux.cpp b/Telegram/SourceFiles/platform/linux/specific_linux.cpp -+index 0cd0839..ff6c93b 100644 ++index 771dc33..599c4b6 100644 +--- a/Telegram/SourceFiles/platform/linux/specific_linux.cpp ++++ b/Telegram/SourceFiles/platform/linux/specific_linux.cpp +@@ -1,3 +1,4 @@ @@ -7219,7 +7238,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/settings/settings_business.cpp b/Telegram/SourceFiles/settings/settings_business.cpp -+index 9cc0fdb..6b2e333 100644 ++index 82c0b99..78a7dfb 100644 +--- a/Telegram/SourceFiles/settings/settings_business.cpp ++++ b/Telegram/SourceFiles/settings/settings_business.cpp +@@ -1,3 +1,4 @@ @@ -7228,7 +7247,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/settings/settings_calls.cpp b/Telegram/SourceFiles/settings/settings_calls.cpp -+index d7e2947..c9c7d23 100644 ++index 16d3f3a..b226d5d 100644 +--- a/Telegram/SourceFiles/settings/settings_calls.cpp ++++ b/Telegram/SourceFiles/settings/settings_calls.cpp +@@ -1,3 +1,4 @@ @@ -7237,7 +7256,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/settings/settings_chat.cpp b/Telegram/SourceFiles/settings/settings_chat.cpp -+index 1dfda76..24a0f21 100644 ++index a02b6ad..f6f62d4 100644 +--- a/Telegram/SourceFiles/settings/settings_chat.cpp ++++ b/Telegram/SourceFiles/settings/settings_chat.cpp +@@ -1,3 +1,4 @@ @@ -7246,7 +7265,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/settings/settings_codes.cpp b/Telegram/SourceFiles/settings/settings_codes.cpp -+index 28f4958..d772474 100644 ++index 3ac0239..c644ecf 100644 +--- a/Telegram/SourceFiles/settings/settings_codes.cpp ++++ b/Telegram/SourceFiles/settings/settings_codes.cpp +@@ -1,3 +1,4 @@ @@ -7282,7 +7301,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/settings/settings_credits_graphics.cpp b/Telegram/SourceFiles/settings/settings_credits_graphics.cpp -+index 15ea3aa..c915d0f 100644 ++index 9e31531..bd37865 100644 +--- a/Telegram/SourceFiles/settings/settings_credits_graphics.cpp ++++ b/Telegram/SourceFiles/settings/settings_credits_graphics.cpp +@@ -1,3 +1,4 @@ @@ -7291,7 +7310,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/settings/settings_experimental.cpp b/Telegram/SourceFiles/settings/settings_experimental.cpp -+index b1d2a84..c059369 100644 ++index ef67935..85424c8 100644 +--- a/Telegram/SourceFiles/settings/settings_experimental.cpp ++++ b/Telegram/SourceFiles/settings/settings_experimental.cpp +@@ -1,3 +1,4 @@ @@ -7345,7 +7364,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/settings/settings_main.cpp b/Telegram/SourceFiles/settings/settings_main.cpp -+index bcc61bc..c86ee60 100644 ++index 239f669..3e955ec 100644 +--- a/Telegram/SourceFiles/settings/settings_main.cpp ++++ b/Telegram/SourceFiles/settings/settings_main.cpp +@@ -1,3 +1,4 @@ @@ -7381,7 +7400,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/settings/settings_premium.cpp b/Telegram/SourceFiles/settings/settings_premium.cpp -+index cae7f89..7bfe144 100644 ++index 343bbef..be7f4d5 100644 +--- a/Telegram/SourceFiles/settings/settings_premium.cpp ++++ b/Telegram/SourceFiles/settings/settings_premium.cpp +@@ -1,3 +1,4 @@ @@ -7416,6 +7435,15 @@ index 0000000..a4a93d3 + /* + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. ++diff --git a/Telegram/SourceFiles/settings/settings_shortcuts.cpp b/Telegram/SourceFiles/settings/settings_shortcuts.cpp ++index 82693c7..caf3bce 100644 ++--- a/Telegram/SourceFiles/settings/settings_shortcuts.cpp +++++ b/Telegram/SourceFiles/settings/settings_shortcuts.cpp ++@@ -1,3 +1,4 @@ +++#include "stdafx.h" ++ /* ++ This file is part of Telegram Desktop, ++ the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/settings/settings_websites.cpp b/Telegram/SourceFiles/settings/settings_websites.cpp +index 836f20a..d1526d9 100644 +--- a/Telegram/SourceFiles/settings/settings_websites.cpp @@ -7579,7 +7607,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/statistics/widgets/point_details_widget.cpp b/Telegram/SourceFiles/statistics/widgets/point_details_widget.cpp -+index aacc2de..902cf26 100644 ++index 65e79b1..23e123c 100644 +--- a/Telegram/SourceFiles/statistics/widgets/point_details_widget.cpp ++++ b/Telegram/SourceFiles/statistics/widgets/point_details_widget.cpp +@@ -1,3 +1,4 @@ @@ -7642,7 +7670,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/storage/file_upload.cpp b/Telegram/SourceFiles/storage/file_upload.cpp -+index 765bcb7..d6412ef 100644 ++index 39be04d..59d87f0 100644 +--- a/Telegram/SourceFiles/storage/file_upload.cpp ++++ b/Telegram/SourceFiles/storage/file_upload.cpp +@@ -1,3 +1,4 @@ @@ -7651,7 +7679,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/storage/localimageloader.cpp b/Telegram/SourceFiles/storage/localimageloader.cpp -+index 8a98691..304c17f 100644 ++index 476a152..419a9ad 100644 +--- a/Telegram/SourceFiles/storage/localimageloader.cpp ++++ b/Telegram/SourceFiles/storage/localimageloader.cpp +@@ -1,3 +1,4 @@ @@ -7696,7 +7724,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/storage/storage_account.cpp b/Telegram/SourceFiles/storage/storage_account.cpp -+index afa677e..a467f12 100644 ++index 7233e0f..6321f84 100644 +--- a/Telegram/SourceFiles/storage/storage_account.cpp ++++ b/Telegram/SourceFiles/storage/storage_account.cpp +@@ -1,3 +1,4 @@ @@ -7750,7 +7778,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/storage/storage_media_prepare.cpp b/Telegram/SourceFiles/storage/storage_media_prepare.cpp -+index 5e3421b..600971f 100644 ++index 290fae4..0e59e91 100644 +--- a/Telegram/SourceFiles/storage/storage_media_prepare.cpp ++++ b/Telegram/SourceFiles/storage/storage_media_prepare.cpp +@@ -1,3 +1,4 @@ @@ -7813,7 +7841,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/support/support_helper.cpp b/Telegram/SourceFiles/support/support_helper.cpp -+index 286f1fc..854cc65 100644 ++index 892bda6..efb5c6d 100644 +--- a/Telegram/SourceFiles/support/support_helper.cpp ++++ b/Telegram/SourceFiles/support/support_helper.cpp +@@ -1,3 +1,4 @@ @@ -7858,7 +7886,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/boxes/boost_box.cpp b/Telegram/SourceFiles/ui/boxes/boost_box.cpp -+index 4260eb0..4c70f7b 100644 ++index c708601..9391f19 100644 +--- a/Telegram/SourceFiles/ui/boxes/boost_box.cpp ++++ b/Telegram/SourceFiles/ui/boxes/boost_box.cpp +@@ -1,3 +1,4 @@ @@ -7885,7 +7913,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/boxes/choose_font_box.cpp b/Telegram/SourceFiles/ui/boxes/choose_font_box.cpp -+index becdc96..c7f3469 100644 ++index 97f65b6..e0c108f 100644 +--- a/Telegram/SourceFiles/ui/boxes/choose_font_box.cpp ++++ b/Telegram/SourceFiles/ui/boxes/choose_font_box.cpp +@@ -1,3 +1,4 @@ @@ -8058,7 +8086,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/chat/attach/attach_abstract_single_media_preview.cpp b/Telegram/SourceFiles/ui/chat/attach/attach_abstract_single_media_preview.cpp -+index 3275c8a..4dcd4d7 100644 ++index 0d57e74..0b49b4c 100644 +--- a/Telegram/SourceFiles/ui/chat/attach/attach_abstract_single_media_preview.cpp ++++ b/Telegram/SourceFiles/ui/chat/attach/attach_abstract_single_media_preview.cpp +@@ -1,3 +1,4 @@ @@ -8067,7 +8095,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/chat/attach/attach_album_preview.cpp b/Telegram/SourceFiles/ui/chat/attach/attach_album_preview.cpp -+index b024090..31f0390 100644 ++index 2843141..446de73 100644 +--- a/Telegram/SourceFiles/ui/chat/attach/attach_album_preview.cpp ++++ b/Telegram/SourceFiles/ui/chat/attach/attach_album_preview.cpp +@@ -1,3 +1,4 @@ @@ -8076,7 +8104,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/chat/attach/attach_album_thumbnail.cpp b/Telegram/SourceFiles/ui/chat/attach/attach_album_thumbnail.cpp -+index 92025e3..afcbb64 100644 ++index 562ae2d..38b475a 100644 +--- a/Telegram/SourceFiles/ui/chat/attach/attach_album_thumbnail.cpp ++++ b/Telegram/SourceFiles/ui/chat/attach/attach_album_thumbnail.cpp +@@ -1,3 +1,4 @@ @@ -8094,7 +8122,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/chat/attach/attach_bot_webview.cpp b/Telegram/SourceFiles/ui/chat/attach/attach_bot_webview.cpp -+index 7f30d31..ac686c1 100644 ++index df4d7bc..ec36890 100644 +--- a/Telegram/SourceFiles/ui/chat/attach/attach_bot_webview.cpp ++++ b/Telegram/SourceFiles/ui/chat/attach/attach_bot_webview.cpp +@@ -1,3 +1,4 @@ @@ -8130,7 +8158,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/chat/attach/attach_item_single_media_preview.cpp b/Telegram/SourceFiles/ui/chat/attach/attach_item_single_media_preview.cpp -+index 49eeacd..a1ceeb6 100644 ++index 02f3c92..7dd39cc 100644 +--- a/Telegram/SourceFiles/ui/chat/attach/attach_item_single_media_preview.cpp ++++ b/Telegram/SourceFiles/ui/chat/attach/attach_item_single_media_preview.cpp +@@ -1,3 +1,5 @@ @@ -8140,7 +8168,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/chat/attach/attach_prepare.cpp b/Telegram/SourceFiles/ui/chat/attach/attach_prepare.cpp -+index 505fa45..a675af9 100644 ++index 3c5e0e7..3d2f77e 100644 +--- a/Telegram/SourceFiles/ui/chat/attach/attach_prepare.cpp ++++ b/Telegram/SourceFiles/ui/chat/attach/attach_prepare.cpp +@@ -1,3 +1,4 @@ @@ -8167,7 +8195,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/chat/attach/attach_single_media_preview.cpp b/Telegram/SourceFiles/ui/chat/attach/attach_single_media_preview.cpp -+index cb80676..c8ef62f 100644 ++index 7f039e3..2440036 100644 +--- a/Telegram/SourceFiles/ui/chat/attach/attach_single_media_preview.cpp ++++ b/Telegram/SourceFiles/ui/chat/attach/attach_single_media_preview.cpp +@@ -1,3 +1,4 @@ @@ -8332,7 +8360,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/color_int_conversion.cpp b/Telegram/SourceFiles/ui/color_int_conversion.cpp -+index 5c9c57f..fa675bb 100644 ++index b5df1c1..3456949 100644 +--- a/Telegram/SourceFiles/ui/color_int_conversion.cpp ++++ b/Telegram/SourceFiles/ui/color_int_conversion.cpp +@@ -1,3 +1,4 @@ @@ -8432,7 +8460,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/controls/location_picker.cpp b/Telegram/SourceFiles/ui/controls/location_picker.cpp -+index ca0d3ff..eefbdeb 100644 ++index 6d69efe..20b55f9 100644 +--- a/Telegram/SourceFiles/ui/controls/location_picker.cpp ++++ b/Telegram/SourceFiles/ui/controls/location_picker.cpp +@@ -1,3 +1,5 @@ @@ -8611,7 +8639,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/effects/outline_segments.cpp b/Telegram/SourceFiles/ui/effects/outline_segments.cpp -+index 7d4dd47..f0170d6 100644 ++index 6dc330c..94e9749 100644 +--- a/Telegram/SourceFiles/ui/effects/outline_segments.cpp ++++ b/Telegram/SourceFiles/ui/effects/outline_segments.cpp +@@ -1,3 +1,4 @@ @@ -8917,7 +8945,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/webview_helpers.cpp b/Telegram/SourceFiles/ui/webview_helpers.cpp -+index 01cd56c..cb00189 100644 ++index e68f19e..b978138 100644 +--- a/Telegram/SourceFiles/ui/webview_helpers.cpp ++++ b/Telegram/SourceFiles/ui/webview_helpers.cpp +@@ -1,3 +1,4 @@ @@ -8926,7 +8954,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/widgets/chat_filters_tabs_slider.cpp b/Telegram/SourceFiles/ui/widgets/chat_filters_tabs_slider.cpp -+index 8c5e01f..921d444 100644 ++index 8149ffc..86481f3 100644 +--- a/Telegram/SourceFiles/ui/widgets/chat_filters_tabs_slider.cpp ++++ b/Telegram/SourceFiles/ui/widgets/chat_filters_tabs_slider.cpp +@@ -1,3 +1,4 @@ @@ -8944,7 +8972,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/widgets/chat_filters_tabs_strip.cpp b/Telegram/SourceFiles/ui/widgets/chat_filters_tabs_strip.cpp -+index fd89864..a948827 100644 ++index 64cd5eb..94cd92b 100644 +--- a/Telegram/SourceFiles/ui/widgets/chat_filters_tabs_strip.cpp ++++ b/Telegram/SourceFiles/ui/widgets/chat_filters_tabs_strip.cpp +@@ -1,3 +1,5 @@ @@ -9082,7 +9110,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/window/main_window.cpp b/Telegram/SourceFiles/window/main_window.cpp -+index c37d412..0a36f1a 100644 ++index f81a578..160d083 100644 +--- a/Telegram/SourceFiles/window/main_window.cpp ++++ b/Telegram/SourceFiles/window/main_window.cpp +@@ -1,3 +1,4 @@ @@ -9091,7 +9119,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/window/notifications_manager.cpp b/Telegram/SourceFiles/window/notifications_manager.cpp -+index 15aa204..84a61f3 100644 ++index 3e8f881..ad7fcef 100644 +--- a/Telegram/SourceFiles/window/notifications_manager.cpp ++++ b/Telegram/SourceFiles/window/notifications_manager.cpp +@@ -1,3 +1,4 @@ @@ -9127,7 +9155,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/window/themes/window_theme.cpp b/Telegram/SourceFiles/window/themes/window_theme.cpp -+index dcdbfcc..9b880d4 100644 ++index 7a75e1b..88d82db 100644 +--- a/Telegram/SourceFiles/window/themes/window_theme.cpp ++++ b/Telegram/SourceFiles/window/themes/window_theme.cpp +@@ -1,3 +1,4 @@ @@ -9251,7 +9279,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/window/window_filters_menu.cpp b/Telegram/SourceFiles/window/window_filters_menu.cpp -+index d9ef9fb..9d82a5f 100644 ++index 829a848..3b2f96f 100644 +--- a/Telegram/SourceFiles/window/window_filters_menu.cpp ++++ b/Telegram/SourceFiles/window/window_filters_menu.cpp +@@ -1,3 +1,4 @@ @@ -9305,7 +9333,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/window/window_peer_menu.cpp b/Telegram/SourceFiles/window/window_peer_menu.cpp -+index 8830f8d..7ea9c87 100644 ++index 036093e..37adc3c 100644 +--- a/Telegram/SourceFiles/window/window_peer_menu.cpp ++++ b/Telegram/SourceFiles/window/window_peer_menu.cpp +@@ -1,3 +1,4 @@ @@ -9314,7 +9342,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/window/window_separate_id.cpp b/Telegram/SourceFiles/window/window_separate_id.cpp -+index f2ed891..bbeb615 100644 ++index 2b88968..ea34a14 100644 +--- a/Telegram/SourceFiles/window/window_separate_id.cpp ++++ b/Telegram/SourceFiles/window/window_separate_id.cpp +@@ -1,3 +1,4 @@ @@ -9323,7 +9351,7 @@ index 0000000..a4a93d3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/window/window_session_controller.cpp b/Telegram/SourceFiles/window/window_session_controller.cpp -+index 559b60f..385ae46 100644 ++index cf75dc7..920d0d3 100644 +--- a/Telegram/SourceFiles/window/window_session_controller.cpp ++++ b/Telegram/SourceFiles/window/window_session_controller.cpp +@@ -1,3 +1,4 @@ @@ -10025,7 +10053,7 @@ index 0000000..a4a93d3 + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_spellcheck/spellcheck/spelling_highlighter.cpp b/Telegram/lib_spellcheck/spellcheck/spelling_highlighter.cpp -+index 74d6093..7f9386a 100644 ++index 41c6612..c1dd9dd 100644 +--- a/Telegram/lib_spellcheck/spellcheck/spelling_highlighter.cpp ++++ b/Telegram/lib_spellcheck/spellcheck/spelling_highlighter.cpp +@@ -1,3 +1,4 @@ @@ -11217,7 +11245,7 @@ index 0000000..a4a93d3 + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/widgets/separate_panel.cpp b/Telegram/lib_ui/ui/widgets/separate_panel.cpp -+index 37fe22c..cabe0a6 100644 ++index cc671a1..73830f4 100644 +--- a/Telegram/lib_ui/ui/widgets/separate_panel.cpp ++++ b/Telegram/lib_ui/ui/widgets/separate_panel.cpp +@@ -1,3 +1,4 @@ diff --git a/net-im/telegram-desktop/patches/telegram_desktop-5.10.7.patchset b/net-im/telegram-desktop/patches/telegram_desktop-5.11.1.patchset similarity index 94% rename from net-im/telegram-desktop/patches/telegram_desktop-5.10.7.patchset rename to net-im/telegram-desktop/patches/telegram_desktop-5.11.1.patchset index 12ab26242..ffe51f5a1 100644 --- a/net-im/telegram-desktop/patches/telegram_desktop-5.10.7.patchset +++ b/net-im/telegram-desktop/patches/telegram_desktop-5.11.1.patchset @@ -1,6 +1,6 @@ -From cb6d03143013a1cf2b2ad96449eeabfbf6f12355 Mon Sep 17 00:00:00 2001 +From fefca40e7fefef8e0ef73dcdfaf7fb6581633ece Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> -Date: Tue, 4 Feb 2025 21:55:34 +1000 +Date: Sat, 15 Feb 2025 10:44:26 +0000 Subject: Add haiku support @@ -138,7 +138,7 @@ index 0000000..e5f8b64 + +resource("BEOS:default_shortcut") "S"; diff --git a/Telegram/CMakeLists.txt b/Telegram/CMakeLists.txt -index b2298db..b0f7f27 100644 +index 1c881e2..63e1f1d 100644 --- a/Telegram/CMakeLists.txt +++ b/Telegram/CMakeLists.txt @@ -97,6 +97,15 @@ PRIVATE @@ -157,7 +157,7 @@ index b2298db..b0f7f27 100644 target_precompile_headers(Telegram PRIVATE $<$:${src_loc}/stdafx.h>) nice_target_sources(Telegram ${src_loc} PRIVATE -@@ -1672,6 +1681,16 @@ if (NOT build_winstore) +@@ -1676,6 +1685,16 @@ if (NOT build_winstore) ) endif() @@ -174,7 +174,7 @@ index b2298db..b0f7f27 100644 if (DESKTOP_APP_USE_PACKAGED) remove_target_sources(Telegram ${src_loc} platform/mac/mac_iconv_helper.c -@@ -1835,7 +1854,7 @@ else() +@@ -1839,7 +1858,7 @@ else() set(bundle_identifier "com.tdesktop.Telegram") endif() set(bundle_entitlements "Telegram.entitlements") @@ -255,10 +255,10 @@ index 4188882..0e0b448 100644 const QStringList &lst(cSendPaths()); for (QStringList::const_iterator i = lst.cbegin(), e = lst.cend(); i != e; ++i) { diff --git a/Telegram/SourceFiles/iv/iv_controller.cpp b/Telegram/SourceFiles/iv/iv_controller.cpp -index bf699ad..c0e6ce9 100644 +index 87befe5..d35cd84 100644 --- a/Telegram/SourceFiles/iv/iv_controller.cpp +++ b/Telegram/SourceFiles/iv/iv_controller.cpp -@@ -49,7 +49,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL +@@ -50,7 +50,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include #include @@ -268,6 +268,21 @@ index bf699ad..c0e6ce9 100644 namespace Iv { namespace { +diff --git a/Telegram/SourceFiles/platform/linux/current_geo_location_linux.cpp b/Telegram/SourceFiles/platform/linux/current_geo_location_linux.cpp +index 7015af7..9c528ef 100644 +--- a/Telegram/SourceFiles/platform/linux/current_geo_location_linux.cpp ++++ b/Telegram/SourceFiles/platform/linux/current_geo_location_linux.cpp +@@ -12,6 +12,10 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL + + #include + ++#ifdef __HAIKU__ ++#define RTLD_NODELETE 0 ++#endif ++ + namespace Platform { + namespace { + diff --git a/Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp b/Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp index f314fb0..331db8a 100644 --- a/Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp @@ -396,10 +411,10 @@ index 4ef98ba..ee8b3ad 100644 void updateWindowIcon() override; diff --git a/Telegram/SourceFiles/platform/linux/notifications_manager_haiku.cpp b/Telegram/SourceFiles/platform/linux/notifications_manager_haiku.cpp new file mode 100644 -index 0000000..ed9f6a7 +index 0000000..0d7526d --- /dev/null +++ b/Telegram/SourceFiles/platform/linux/notifications_manager_haiku.cpp -@@ -0,0 +1,271 @@ +@@ -0,0 +1,273 @@ +/* +This file is part of Telegram Desktop for Haiku, + @@ -508,8 +523,10 @@ index 0000000..ed9f6a7 + +void Create(Window::Notifications::System *system) { + if (Core::App().settings().nativeNotifications() && Supported()) { -+ auto result = std::make_unique(system); -+ system->setManager(std::move(result)); ++ system->setManager([=] { ++ auto manager = std::make_unique(system); ++ return manager; ++ }); + return; + } + system->setManager(nullptr); @@ -1124,7 +1141,7 @@ index d4c3f30..22fb3d6 100644 #include "webrtc/webrtc_device_common.h" diff --git a/Telegram/lib_webview/webview/platform/linux/webview_linux_webkitgtk_library.cpp b/Telegram/lib_webview/webview/platform/linux/webview_linux_webkitgtk_library.cpp -index c85e18c..700751b 100644 +index 009c732..4752f25 100644 --- a/Telegram/lib_webview/webview/platform/linux/webview_linux_webkitgtk_library.cpp +++ b/Telegram/lib_webview/webview/platform/linux/webview_linux_webkitgtk_library.cpp @@ -8,6 +8,10 @@ @@ -1138,6 +1155,37 @@ index c85e18c..700751b 100644 namespace Webview::WebKitGTK::Library { ResolveResult Resolve(bool wayland) { +diff --git a/Telegram/lib_webview/webview/webview_data_stream_memory.cpp b/Telegram/lib_webview/webview/webview_data_stream_memory.cpp +index efe587e..b9d3509 100644 +--- a/Telegram/lib_webview/webview/webview_data_stream_memory.cpp ++++ b/Telegram/lib_webview/webview/webview_data_stream_memory.cpp +@@ -6,7 +6,7 @@ + // + #include "webview/webview_data_stream_memory.h" + +-#if !defined Q_OS_WIN && !defined Q_OS_MAC ++#if !defined Q_OS_WIN && !defined Q_OS_MAC && !defined Q_OS_HAIKU + #include + #endif // !Q_OS_WIN && !Q_OS_MAC + +@@ -17,7 +17,7 @@ DataStreamFromMemory::DataStreamFromMemory( + std::string mime) + : _data(data) + , _mime(mime) { +-#if !defined Q_OS_WIN && !defined Q_OS_MAC ++#if !defined Q_OS_WIN && !defined Q_OS_MAC && !defined Q_OS_HAIKU + const auto handle = memfd_create("webview-data-stream", MFD_CLOEXEC); + if (handle == -1) { + return; +@@ -44,7 +44,7 @@ DataStreamFromMemory::DataStreamFromMemory( + } + + DataStreamFromMemory::~DataStreamFromMemory() { +-#if !defined Q_OS_WIN && !defined Q_OS_MAC ++#if !defined Q_OS_WIN && !defined Q_OS_MAC && !defined Q_OS_HAIKU + if (_handle) { + munmap((void*)_data.constData(), _data.size()); + close(_handle); diff --git a/cmake/external/CMakeLists.txt b/cmake/external/CMakeLists.txt index 58f2503..65dbe67 100644 --- a/cmake/external/CMakeLists.txt @@ -1163,30 +1211,3 @@ index 58f2503..65dbe67 100644 -- 2.45.2 - -From 14dd85dabc50121f676831781810159e900ed996 Mon Sep 17 00:00:00 2001 -From: Gerasim Troeglazov <3dEyes@gmail.com> -Date: Tue, 4 Feb 2025 23:15:07 +1000 -Subject: Fix build - - -diff --git a/Telegram/SourceFiles/platform/linux/notifications_manager_haiku.cpp b/Telegram/SourceFiles/platform/linux/notifications_manager_haiku.cpp -index ed9f6a7..0d7526d 100644 ---- a/Telegram/SourceFiles/platform/linux/notifications_manager_haiku.cpp -+++ b/Telegram/SourceFiles/platform/linux/notifications_manager_haiku.cpp -@@ -106,8 +106,10 @@ void MaybeFlashBounceForCustom(Fn flashBounce) { - - void Create(Window::Notifications::System *system) { - if (Core::App().settings().nativeNotifications() && Supported()) { -- auto result = std::make_unique(system); -- system->setManager(std::move(result)); -+ system->setManager([=] { -+ auto manager = std::make_unique(system); -+ return manager; -+ }); - return; - } - system->setManager(nullptr); --- -2.45.2 - diff --git a/net-im/telegram-desktop/telegram_desktop-5.10.7.recipe b/net-im/telegram-desktop/telegram_desktop-5.11.1.recipe similarity index 96% rename from net-im/telegram-desktop/telegram_desktop-5.10.7.recipe rename to net-im/telegram-desktop/telegram_desktop-5.11.1.recipe index bebcc1af4..6e3fdb5af 100644 --- a/net-im/telegram-desktop/telegram_desktop-5.10.7.recipe +++ b/net-im/telegram-desktop/telegram_desktop-5.11.1.recipe @@ -5,7 +5,7 @@ COPYRIGHT="2013-2025 Telegram" LICENSE="GNU GPL v3" REVISION="1" SOURCE_URI="https://github.com/telegramdesktop/tdesktop/releases/download/v$portVersion/tdesktop-$portVersion-full.tar.gz" -CHECKSUM_SHA256="37f5f4108ca052a670a6b28e6eecf7afbc1bccbc562997cf9c89c0c725d96c1e" +CHECKSUM_SHA256="bde842b71064511c5bacb4971e3b2d539614f8dc541dffcb4ccc00e02d80924b" SOURCE_FILENAME="tdesktop-$portVersion-full.tar.gz" SOURCE_DIR="tdesktop-$portVersion-full" SOURCE_URI_2="https://github.com/ada-url/ada/releases/download/v2.9.0/singleheader.zip" @@ -198,6 +198,11 @@ BUILD() -DTDESKTOP_API_HASH=$TELEGRAM_API_HASH \ -DLZ4_INCLUDE_DIRS=/system/$relativeIncludeDir + # hack for info_profile_actions.cpp file (fix OOM error) + if [ $targetArchitecture == x86_gcc2 ]; then + sed -i -e '/info_profile_actions\.cpp\.o:/,/^$/{ /^[[:space:]]*FLAGS[[:space:]]*=/s/-O1/-O0/ }' $sourceDir/build/build.ninja + fi + ninja -C build -v $jobArgs cd SendToAddon