diff --git a/net-im/telegram-desktop/patches/libtgvoip-5.7.2.patchset b/net-im/telegram-desktop/patches/libtgvoip-5.9.0.patchset similarity index 99% rename from net-im/telegram-desktop/patches/libtgvoip-5.7.2.patchset rename to net-im/telegram-desktop/patches/libtgvoip-5.9.0.patchset index 74c84d0da..275fa7067 100644 --- a/net-im/telegram-desktop/patches/libtgvoip-5.7.2.patchset +++ b/net-im/telegram-desktop/patches/libtgvoip-5.9.0.patchset @@ -1,6 +1,6 @@ -From 773f37ad2603040774cd6016cd79710bd422bbbf Mon Sep 17 00:00:00 2001 +From af5d52d4abd12204b02bc5badecd5e971d8235f1 Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> -Date: Fri, 15 Nov 2024 22:56:58 +1000 +Date: Thu, 5 Dec 2024 09:31:54 +1000 Subject: Add haiku support diff --git a/net-im/telegram-desktop/patches/pch_disable-5.7.2.patchset b/net-im/telegram-desktop/patches/pch_disable-5.9.0.patchset similarity index 97% rename from net-im/telegram-desktop/patches/pch_disable-5.7.2.patchset rename to net-im/telegram-desktop/patches/pch_disable-5.9.0.patchset index 41aa6aeda..4f6fa4616 100644 --- a/net-im/telegram-desktop/patches/pch_disable-5.7.2.patchset +++ b/net-im/telegram-desktop/patches/pch_disable-5.9.0.patchset @@ -1,15 +1,15 @@ -From b4a1af76c0d5b7a7c1fe1d8b93667a42b94314ad Mon Sep 17 00:00:00 2001 +From d25b4e9ee19fb54b5bb4ede8692c8dfbc8230a18 Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> -Date: Sat, 16 Nov 2024 11:07:47 +0000 +Date: Thu, 5 Dec 2024 10:39:22 +0000 Subject: Add PCH file diff --git a/pch_disable.patchset b/pch_disable.patchset new file mode 100644 -index 0000000..2451ab1 +index 0000000..b531924 --- /dev/null +++ b/pch_disable.patchset -@@ -0,0 +1,11154 @@ +@@ -0,0 +1,11303 @@ +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 @@ -47,7 +47,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/api/api_chat_filters.cpp b/Telegram/SourceFiles/api/api_chat_filters.cpp -+index ee6b97b..e156771 100644 ++index a686f44..af4efec 100644 +--- a/Telegram/SourceFiles/api/api_chat_filters.cpp ++++ b/Telegram/SourceFiles/api/api_chat_filters.cpp +@@ -1,3 +1,4 @@ @@ -55,8 +55,17 @@ index 0000000..2451ab1 + /* + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. ++diff --git a/Telegram/SourceFiles/api/api_chat_filters_remove_manager.cpp b/Telegram/SourceFiles/api/api_chat_filters_remove_manager.cpp ++index fe96acc..ae946d9 100644 ++--- a/Telegram/SourceFiles/api/api_chat_filters_remove_manager.cpp +++++ b/Telegram/SourceFiles/api/api_chat_filters_remove_manager.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/api/api_chat_invite.cpp b/Telegram/SourceFiles/api/api_chat_invite.cpp -+index 0a53c61..397abf9 100644 ++index 134e3a0..6bd860b 100644 +--- a/Telegram/SourceFiles/api/api_chat_invite.cpp ++++ b/Telegram/SourceFiles/api/api_chat_invite.cpp +@@ -1,3 +1,4 @@ @@ -110,7 +119,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/api/api_credits.cpp b/Telegram/SourceFiles/api/api_credits.cpp -+index ddff600..f3c4694 100644 ++index 38fc6be..1b14656 100644 +--- a/Telegram/SourceFiles/api/api_credits.cpp ++++ b/Telegram/SourceFiles/api/api_credits.cpp +@@ -1,3 +1,4 @@ @@ -119,7 +128,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/api/api_earn.cpp b/Telegram/SourceFiles/api/api_earn.cpp -+index 1461551..99f8785 100644 ++index c446901..9b62ec1 100644 +--- a/Telegram/SourceFiles/api/api_earn.cpp ++++ b/Telegram/SourceFiles/api/api_earn.cpp +@@ -1,3 +1,4 @@ @@ -218,7 +227,7 @@ index 0000000..2451ab1 + 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 4328f04..721e341 100644 ++index d88a5dd..35f9199 100644 +--- a/Telegram/SourceFiles/api/api_premium.cpp ++++ b/Telegram/SourceFiles/api/api_premium.cpp +@@ -1,3 +1,4 @@ @@ -290,7 +299,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/api/api_single_message_search.cpp b/Telegram/SourceFiles/api/api_single_message_search.cpp -+index 0875091..5e3ca53 100644 ++index 2597c2f..1ffaa4c 100644 +--- a/Telegram/SourceFiles/api/api_single_message_search.cpp ++++ b/Telegram/SourceFiles/api/api_single_message_search.cpp +@@ -1,3 +1,4 @@ @@ -380,7 +389,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/api/api_user_privacy.cpp b/Telegram/SourceFiles/api/api_user_privacy.cpp -+index d0c17fa..935a5c7 100644 ++index 78f863b..cb9eb3c 100644 +--- a/Telegram/SourceFiles/api/api_user_privacy.cpp ++++ b/Telegram/SourceFiles/api/api_user_privacy.cpp +@@ -1,3 +1,4 @@ @@ -416,7 +425,7 @@ index 0000000..2451ab1 + 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 b8d5173..57338c0 100644 ++index 316aed0..62d2107 100644 +--- a/Telegram/SourceFiles/apiwrap.cpp ++++ b/Telegram/SourceFiles/apiwrap.cpp +@@ -1,3 +1,4 @@ @@ -505,7 +514,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/choose_filter_box.cpp b/Telegram/SourceFiles/boxes/choose_filter_box.cpp -+index 4e99a01..9df79e9 100644 ++index 43a4d2e..bd575b7 100644 +--- a/Telegram/SourceFiles/boxes/choose_filter_box.cpp ++++ b/Telegram/SourceFiles/boxes/choose_filter_box.cpp +@@ -1,3 +1,5 @@ @@ -565,7 +574,7 @@ index 0000000..2451ab1 + 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 f6e48b2..ebdf5c6 100644 ++index ae2cbc3..8dc6422 100644 +--- a/Telegram/SourceFiles/boxes/edit_caption_box.cpp ++++ b/Telegram/SourceFiles/boxes/edit_caption_box.cpp +@@ -1,3 +1,5 @@ @@ -575,7 +584,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/edit_privacy_box.cpp b/Telegram/SourceFiles/boxes/edit_privacy_box.cpp -+index c9a9055..0c5f7aa 100644 ++index 94c4af0..d08a2b8 100644 +--- a/Telegram/SourceFiles/boxes/edit_privacy_box.cpp ++++ b/Telegram/SourceFiles/boxes/edit_privacy_box.cpp +@@ -1,3 +1,5 @@ @@ -585,7 +594,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/filters/edit_filter_box.cpp b/Telegram/SourceFiles/boxes/filters/edit_filter_box.cpp -+index df85e62..9e4d415 100644 ++index 3ada6e4..28e229a 100644 +--- a/Telegram/SourceFiles/boxes/filters/edit_filter_box.cpp ++++ b/Telegram/SourceFiles/boxes/filters/edit_filter_box.cpp +@@ -1,3 +1,5 @@ @@ -595,7 +604,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/filters/edit_filter_chats_list.cpp b/Telegram/SourceFiles/boxes/filters/edit_filter_chats_list.cpp -+index ff0226a..b233850 100644 ++index ce14186..3f514b6 100644 +--- a/Telegram/SourceFiles/boxes/filters/edit_filter_chats_list.cpp ++++ b/Telegram/SourceFiles/boxes/filters/edit_filter_chats_list.cpp +@@ -1,3 +1,6 @@ @@ -627,7 +636,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/gift_credits_box.cpp b/Telegram/SourceFiles/boxes/gift_credits_box.cpp -+index f0ecd05..7f48983 100644 ++index 2df2d9f..0310dad 100644 +--- a/Telegram/SourceFiles/boxes/gift_credits_box.cpp ++++ b/Telegram/SourceFiles/boxes/gift_credits_box.cpp +@@ -1,3 +1,5 @@ @@ -637,7 +646,7 @@ index 0000000..2451ab1 + 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 d0cc2c7..fb13afe 100644 ++index cb87239..5ae4843 100644 +--- a/Telegram/SourceFiles/boxes/gift_premium_box.cpp ++++ b/Telegram/SourceFiles/boxes/gift_premium_box.cpp +@@ -1,3 +1,5 @@ @@ -657,7 +666,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/local_storage_box.cpp b/Telegram/SourceFiles/boxes/local_storage_box.cpp -+index fcdbd8d..ea37bb3 100644 ++index ade6a4e..6b49a61 100644 +--- a/Telegram/SourceFiles/boxes/local_storage_box.cpp ++++ b/Telegram/SourceFiles/boxes/local_storage_box.cpp +@@ -1,3 +1,5 @@ @@ -677,7 +686,7 @@ index 0000000..2451ab1 + 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 9c68881..bb04faf 100644 ++index 49df5b0..571ae9f 100644 +--- a/Telegram/SourceFiles/boxes/moderate_messages_box.cpp ++++ b/Telegram/SourceFiles/boxes/moderate_messages_box.cpp +@@ -1,3 +1,5 @@ @@ -697,7 +706,7 @@ index 0000000..2451ab1 + 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 b47d4b2..7aeca1b 100644 ++index 67663c1..8358f6e 100644 +--- a/Telegram/SourceFiles/boxes/peer_list_box.cpp ++++ b/Telegram/SourceFiles/boxes/peer_list_box.cpp +@@ -1,3 +1,5 @@ @@ -707,7 +716,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/peer_list_controllers.cpp b/Telegram/SourceFiles/boxes/peer_list_controllers.cpp -+index 53d5608..7f30e0b 100644 ++index 05b8d6d..7a77bde 100644 +--- a/Telegram/SourceFiles/boxes/peer_list_controllers.cpp ++++ b/Telegram/SourceFiles/boxes/peer_list_controllers.cpp +@@ -1,3 +1,5 @@ @@ -716,6 +725,16 @@ index 0000000..2451ab1 + /* + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. ++diff --git a/Telegram/SourceFiles/boxes/peer_list_widgets.cpp b/Telegram/SourceFiles/boxes/peer_list_widgets.cpp ++index dfa729e..ea5e5a4 100644 ++--- a/Telegram/SourceFiles/boxes/peer_list_widgets.cpp +++++ b/Telegram/SourceFiles/boxes/peer_list_widgets.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/boxes/peer_lists_box.cpp b/Telegram/SourceFiles/boxes/peer_lists_box.cpp +index 9929840..b725431 100644 +--- a/Telegram/SourceFiles/boxes/peer_lists_box.cpp @@ -814,7 +833,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/peers/edit_participants_box.cpp b/Telegram/SourceFiles/boxes/peers/edit_participants_box.cpp -+index 345d988..deed0c9 100644 ++index bdd3bdc..2759754 100644 +--- a/Telegram/SourceFiles/boxes/peers/edit_participants_box.cpp ++++ b/Telegram/SourceFiles/boxes/peers/edit_participants_box.cpp +@@ -1,3 +1,6 @@ @@ -846,7 +865,7 @@ index 0000000..2451ab1 + 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_info_box.cpp b/Telegram/SourceFiles/boxes/peers/edit_peer_info_box.cpp -+index 76fd985..24e4cc1 100644 ++index f80f4e7..fa7e3ea 100644 +--- a/Telegram/SourceFiles/boxes/peers/edit_peer_info_box.cpp ++++ b/Telegram/SourceFiles/boxes/peers/edit_peer_info_box.cpp +@@ -1,3 +1,6 @@ @@ -857,7 +876,7 @@ index 0000000..2451ab1 + 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_invite_link.cpp b/Telegram/SourceFiles/boxes/peers/edit_peer_invite_link.cpp -+index 4dc7f89..778f2c4 100644 ++index c8b4f2d..508df9c 100644 +--- a/Telegram/SourceFiles/boxes/peers/edit_peer_invite_link.cpp ++++ b/Telegram/SourceFiles/boxes/peers/edit_peer_invite_link.cpp +@@ -1,3 +1,6 @@ @@ -901,7 +920,7 @@ index 0000000..2451ab1 + 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_requests_box.cpp b/Telegram/SourceFiles/boxes/peers/edit_peer_requests_box.cpp -+index c28847b..4de0ad0 100644 ++index 26310db..21f93cb 100644 +--- a/Telegram/SourceFiles/boxes/peers/edit_peer_requests_box.cpp ++++ b/Telegram/SourceFiles/boxes/peers/edit_peer_requests_box.cpp +@@ -1,3 +1,6 @@ @@ -934,7 +953,7 @@ index 0000000..2451ab1 + 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 dc7524e..8902c0a 100644 ++index 0275358..b74694f 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 @@ @@ -945,7 +964,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/peers/prepare_short_info_box.cpp b/Telegram/SourceFiles/boxes/peers/prepare_short_info_box.cpp -+index c3ff09a..6111317 100644 ++index 760a821..35709a4 100644 +--- a/Telegram/SourceFiles/boxes/peers/prepare_short_info_box.cpp ++++ b/Telegram/SourceFiles/boxes/peers/prepare_short_info_box.cpp +@@ -1,3 +1,6 @@ @@ -956,7 +975,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/peers/replace_boost_box.cpp b/Telegram/SourceFiles/boxes/peers/replace_boost_box.cpp -+index a3bc8b6..fb801e0 100644 ++index 634e4a2..f9e7e3f 100644 +--- a/Telegram/SourceFiles/boxes/peers/replace_boost_box.cpp ++++ b/Telegram/SourceFiles/boxes/peers/replace_boost_box.cpp +@@ -1,3 +1,6 @@ @@ -997,7 +1016,7 @@ index 0000000..2451ab1 + 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 f163be6..f4ab2fd 100644 ++index 0e2bf68..049a46c 100644 +--- a/Telegram/SourceFiles/boxes/premium_preview_box.cpp ++++ b/Telegram/SourceFiles/boxes/premium_preview_box.cpp +@@ -1,3 +1,5 @@ @@ -1017,7 +1036,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/report_messages_box.cpp b/Telegram/SourceFiles/boxes/report_messages_box.cpp -+index e098259..8c77c97 100644 ++index 25e548f..cc4bf88 100644 +--- a/Telegram/SourceFiles/boxes/report_messages_box.cpp ++++ b/Telegram/SourceFiles/boxes/report_messages_box.cpp +@@ -1,3 +1,5 @@ @@ -1047,7 +1066,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/send_credits_box.cpp b/Telegram/SourceFiles/boxes/send_credits_box.cpp -+index 3ac13da..6e825fd 100644 ++index e42151d..e237b6b 100644 +--- a/Telegram/SourceFiles/boxes/send_credits_box.cpp ++++ b/Telegram/SourceFiles/boxes/send_credits_box.cpp +@@ -1,3 +1,5 @@ @@ -1076,18 +1095,8 @@ index 0000000..2451ab1 + /* + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. -+diff --git a/Telegram/SourceFiles/boxes/sessions_box.cpp b/Telegram/SourceFiles/boxes/sessions_box.cpp -+index 4328fc4..d5a41a6 100644 -+--- a/Telegram/SourceFiles/boxes/sessions_box.cpp -++++ b/Telegram/SourceFiles/boxes/sessions_box.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/boxes/share_box.cpp b/Telegram/SourceFiles/boxes/share_box.cpp -+index bd154f8..d4e248c 100644 ++index eed3a2e..b5fec6e 100644 +--- a/Telegram/SourceFiles/boxes/share_box.cpp ++++ b/Telegram/SourceFiles/boxes/share_box.cpp +@@ -1,3 +1,5 @@ @@ -1097,7 +1106,7 @@ index 0000000..2451ab1 + 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 6c82039..47a0e3f 100644 ++index c05e29e..ea26b9f 100644 +--- a/Telegram/SourceFiles/boxes/star_gift_box.cpp ++++ b/Telegram/SourceFiles/boxes/star_gift_box.cpp +@@ -1,3 +1,5 @@ @@ -1117,7 +1126,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/stickers_box.cpp b/Telegram/SourceFiles/boxes/stickers_box.cpp -+index 7509b89..775acf7 100644 ++index 778db60..9e3ae32 100644 +--- a/Telegram/SourceFiles/boxes/stickers_box.cpp ++++ b/Telegram/SourceFiles/boxes/stickers_box.cpp +@@ -1,3 +1,5 @@ @@ -1202,7 +1211,7 @@ index 0000000..2451ab1 + 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 118532d..a5644fd 100644 ++index 7d57937..ec6f05b 100644 +--- a/Telegram/SourceFiles/calls/calls_instance.cpp ++++ b/Telegram/SourceFiles/calls/calls_instance.cpp +@@ -1,3 +1,4 @@ @@ -1211,7 +1220,7 @@ index 0000000..2451ab1 + 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 6f0ab0f..9f58eed 100644 ++index 74ddcb8..8e3a75a 100644 +--- a/Telegram/SourceFiles/calls/calls_panel.cpp ++++ b/Telegram/SourceFiles/calls/calls_panel.cpp +@@ -1,3 +1,4 @@ @@ -1346,7 +1355,7 @@ index 0000000..2451ab1 + 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_rtmp.cpp b/Telegram/SourceFiles/calls/group/calls_group_rtmp.cpp -+index fded076..998ea45 100644 ++index db94f72..e2a721b 100644 +--- a/Telegram/SourceFiles/calls/group/calls_group_rtmp.cpp ++++ b/Telegram/SourceFiles/calls/group/calls_group_rtmp.cpp +@@ -1,3 +1,4 @@ @@ -1544,7 +1553,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/chat_helpers/gifs_list_widget.cpp b/Telegram/SourceFiles/chat_helpers/gifs_list_widget.cpp -+index 72865ea..533aa9f 100644 ++index 89c6661..2a5f671 100644 +--- a/Telegram/SourceFiles/chat_helpers/gifs_list_widget.cpp ++++ b/Telegram/SourceFiles/chat_helpers/gifs_list_widget.cpp +@@ -1,3 +1,4 @@ @@ -1616,7 +1625,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/chat_helpers/stickers_list_footer.cpp b/Telegram/SourceFiles/chat_helpers/stickers_list_footer.cpp -+index 8d66624..db2ae63 100644 ++index 2378654..cca5a51 100644 +--- a/Telegram/SourceFiles/chat_helpers/stickers_list_footer.cpp ++++ b/Telegram/SourceFiles/chat_helpers/stickers_list_footer.cpp +@@ -1,3 +1,4 @@ @@ -1634,7 +1643,7 @@ index 0000000..2451ab1 + 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 095abbb..67f76e2 100644 ++index 9c830dc..a10b472 100644 +--- a/Telegram/SourceFiles/chat_helpers/stickers_lottie.cpp ++++ b/Telegram/SourceFiles/chat_helpers/stickers_lottie.cpp +@@ -1,3 +1,4 @@ @@ -1643,7 +1652,7 @@ index 0000000..2451ab1 + 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 7d399a5..62dfd8b 100644 ++index da08389..9118574 100644 +--- a/Telegram/SourceFiles/chat_helpers/tabbed_panel.cpp ++++ b/Telegram/SourceFiles/chat_helpers/tabbed_panel.cpp +@@ -1,3 +1,4 @@ @@ -1679,7 +1688,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/core/application.cpp b/Telegram/SourceFiles/core/application.cpp -+index c127473..e7bcc83 100644 ++index 44dd9df..152a649 100644 +--- a/Telegram/SourceFiles/core/application.cpp ++++ b/Telegram/SourceFiles/core/application.cpp +@@ -1,3 +1,5 @@ @@ -1709,7 +1718,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/core/click_handler_types.cpp b/Telegram/SourceFiles/core/click_handler_types.cpp -+index 231d019..fb9b99c 100644 ++index ded39a2..7470d79 100644 +--- a/Telegram/SourceFiles/core/click_handler_types.cpp ++++ b/Telegram/SourceFiles/core/click_handler_types.cpp +@@ -1,3 +1,5 @@ @@ -1729,7 +1738,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/core/core_settings.cpp b/Telegram/SourceFiles/core/core_settings.cpp -+index 2ef80a8..31ec491 100644 ++index 3090ec1..d54c7c5 100644 +--- a/Telegram/SourceFiles/core/core_settings.cpp ++++ b/Telegram/SourceFiles/core/core_settings.cpp +@@ -1,3 +1,5 @@ @@ -1798,7 +1807,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/core/launcher.cpp b/Telegram/SourceFiles/core/launcher.cpp -+index 0b6afb7..3fb3103 100644 ++index 312ce96..5da1573 100644 +--- a/Telegram/SourceFiles/core/launcher.cpp ++++ b/Telegram/SourceFiles/core/launcher.cpp +@@ -1,3 +1,5 @@ @@ -1808,7 +1817,7 @@ index 0000000..2451ab1 + 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 a881547..89239f5 100644 ++index fa45db8..320ba75 100644 +--- a/Telegram/SourceFiles/core/local_url_handlers.cpp ++++ b/Telegram/SourceFiles/core/local_url_handlers.cpp +@@ -1,3 +1,5 @@ @@ -1827,7 +1836,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/core/phone_click_handler.cpp b/Telegram/SourceFiles/core/phone_click_handler.cpp -+index 9723ffe..ce71774 100644 ++index ec34b8f..42f0ea4 100644 +--- a/Telegram/SourceFiles/core/phone_click_handler.cpp ++++ b/Telegram/SourceFiles/core/phone_click_handler.cpp +@@ -1,3 +1,5 @@ @@ -1946,7 +1955,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/components/credits.cpp b/Telegram/SourceFiles/data/components/credits.cpp -+index e213fcf..57ea9cd 100644 ++index cea4020..addb550 100644 +--- a/Telegram/SourceFiles/data/components/credits.cpp ++++ b/Telegram/SourceFiles/data/components/credits.cpp +@@ -1,3 +1,5 @@ @@ -1983,7 +1992,7 @@ index 0000000..2451ab1 +\ No newline at end of file ++} // namespace Data +diff --git a/Telegram/SourceFiles/data/components/recent_peers.cpp b/Telegram/SourceFiles/data/components/recent_peers.cpp -+index 0917be2..a6b7923 100644 ++index 6b49ea7..5011683 100644 +--- a/Telegram/SourceFiles/data/components/recent_peers.cpp ++++ b/Telegram/SourceFiles/data/components/recent_peers.cpp +@@ -1,3 +1,5 @@ @@ -2003,7 +2012,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/components/sponsored_messages.cpp b/Telegram/SourceFiles/data/components/sponsored_messages.cpp -+index d2746ad..28cdcb1 100644 ++index 61e36d1..0e957f2 100644 +--- a/Telegram/SourceFiles/data/components/sponsored_messages.cpp ++++ b/Telegram/SourceFiles/data/components/sponsored_messages.cpp +@@ -1,3 +1,5 @@ @@ -2130,7 +2139,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_chat_filters.cpp b/Telegram/SourceFiles/data/data_chat_filters.cpp -+index 7a6f63a..e7e85f9 100644 ++index 81eb2f5..398a60c 100644 +--- a/Telegram/SourceFiles/data/data_chat_filters.cpp ++++ b/Telegram/SourceFiles/data/data_chat_filters.cpp +@@ -1,3 +1,5 @@ @@ -2170,7 +2179,7 @@ index 0000000..2451ab1 + 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 af5f950..1b46e87 100644 ++index c14d29b..dd53f0f 100644 +--- a/Telegram/SourceFiles/data/data_document.cpp ++++ b/Telegram/SourceFiles/data/data_document.cpp +@@ -1,3 +1,5 @@ @@ -2180,7 +2189,7 @@ index 0000000..2451ab1 + 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 df1f9ea..9398637 100644 ++index 6aa21ca..a2489dc 100644 +--- a/Telegram/SourceFiles/data/data_document.h ++++ b/Telegram/SourceFiles/data/data_document.h +@@ -1,3 +1,4 @@ @@ -2289,7 +2298,7 @@ index 0000000..2451ab1 + 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 7e79988..26ac997 100644 ++index d8ebb39..59e66ab 100644 +--- a/Telegram/SourceFiles/data/data_forum_topic.cpp ++++ b/Telegram/SourceFiles/data/data_forum_topic.cpp +@@ -1,3 +1,5 @@ @@ -2406,7 +2415,7 @@ index 0000000..2451ab1 + 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 d360ccf..f0a1a96 100644 ++index a3e581a..1e7a218 100644 +--- a/Telegram/SourceFiles/data/data_message_reactions.cpp ++++ b/Telegram/SourceFiles/data/data_message_reactions.cpp +@@ -1,3 +1,5 @@ @@ -2446,7 +2455,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_peer_bot_commands.cpp b/Telegram/SourceFiles/data/data_peer_bot_commands.cpp -+index 8adc31a..cf3136e 100644 ++index 2487dc7..651cad5 100644 +--- a/Telegram/SourceFiles/data/data_peer_bot_commands.cpp ++++ b/Telegram/SourceFiles/data/data_peer_bot_commands.cpp +@@ -1,3 +1,5 @@ @@ -2586,7 +2595,7 @@ index 0000000..2451ab1 + 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 d878213..71f3f22 100644 ++index 909889c..9aec391 100644 +--- a/Telegram/SourceFiles/data/data_session.cpp ++++ b/Telegram/SourceFiles/data/data_session.cpp +@@ -1,3 +1,5 @@ @@ -2675,7 +2684,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_types.cpp b/Telegram/SourceFiles/data/data_types.cpp -+index ab792cd..245f43a 100644 ++index 8fed3ec..abe6e5b 100644 +--- a/Telegram/SourceFiles/data/data_types.cpp ++++ b/Telegram/SourceFiles/data/data_types.cpp +@@ -1,3 +1,5 @@ @@ -2684,8 +2693,18 @@ index 0000000..2451ab1 + /* + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. ++diff --git a/Telegram/SourceFiles/data/data_unread_value.cpp b/Telegram/SourceFiles/data/data_unread_value.cpp ++index c374dc0..4978dca 100644 ++--- a/Telegram/SourceFiles/data/data_unread_value.cpp +++++ b/Telegram/SourceFiles/data/data_unread_value.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/data/data_user.cpp b/Telegram/SourceFiles/data/data_user.cpp -+index 2456567..20dd77f 100644 ++index 09d72a0..f8e91b3 100644 +--- a/Telegram/SourceFiles/data/data_user.cpp ++++ b/Telegram/SourceFiles/data/data_user.cpp +@@ -1,3 +1,5 @@ @@ -2764,7 +2783,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/stickers/data_custom_emoji.cpp b/Telegram/SourceFiles/data/stickers/data_custom_emoji.cpp -+index bb90a58..e345b81 100644 ++index 2ed3bae..ad6b246 100644 +--- a/Telegram/SourceFiles/data/stickers/data_custom_emoji.cpp ++++ b/Telegram/SourceFiles/data/stickers/data_custom_emoji.cpp +@@ -1,3 +1,5 @@ @@ -2774,7 +2793,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/stickers/data_stickers.cpp b/Telegram/SourceFiles/data/stickers/data_stickers.cpp -+index 4133af7..973b876 100644 ++index d04b880..4efdc72 100644 +--- a/Telegram/SourceFiles/data/stickers/data_stickers.cpp ++++ b/Telegram/SourceFiles/data/stickers/data_stickers.cpp +@@ -1,3 +1,5 @@ @@ -2794,7 +2813,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/dialogs/dialogs_entry.cpp b/Telegram/SourceFiles/dialogs/dialogs_entry.cpp -+index 6d227c6..f4ad16c 100644 ++index 501883a..d45c129 100644 +--- a/Telegram/SourceFiles/dialogs/dialogs_entry.cpp ++++ b/Telegram/SourceFiles/dialogs/dialogs_entry.cpp +@@ -1,3 +1,5 @@ @@ -2814,7 +2833,7 @@ index 0000000..2451ab1 + 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 7d63bb5..bcb0757 100644 ++index 5d476d8..5e8daa9 100644 +--- a/Telegram/SourceFiles/dialogs/dialogs_inner_widget.cpp ++++ b/Telegram/SourceFiles/dialogs/dialogs_inner_widget.cpp +@@ -1,3 +1,5 @@ @@ -2834,7 +2853,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/dialogs/dialogs_list.cpp b/Telegram/SourceFiles/dialogs/dialogs_list.cpp -+index 362f8b8..f9107b2 100644 ++index ce6a724..1b996de 100644 +--- a/Telegram/SourceFiles/dialogs/dialogs_list.cpp ++++ b/Telegram/SourceFiles/dialogs/dialogs_list.cpp +@@ -1,3 +1,5 @@ @@ -2864,7 +2883,7 @@ index 0000000..2451ab1 + 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 5a0730f..fd0c750 100644 ++index a9dae4d..6801092 100644 +--- a/Telegram/SourceFiles/dialogs/dialogs_row.cpp ++++ b/Telegram/SourceFiles/dialogs/dialogs_row.cpp +@@ -1,3 +1,5 @@ @@ -2894,7 +2913,7 @@ index 0000000..2451ab1 + 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 73f8f59..8f15355 100644 ++index 9c9b162..6510971 100644 +--- a/Telegram/SourceFiles/dialogs/dialogs_widget.cpp ++++ b/Telegram/SourceFiles/dialogs/dialogs_widget.cpp +@@ -1,3 +1,5 @@ @@ -2922,7 +2941,7 @@ index 0000000..2451ab1 + 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 74ef869..74091d3 100644 ++index 4de06e9..1ecbe79 100644 +--- a/Telegram/SourceFiles/dialogs/ui/dialogs_layout.cpp ++++ b/Telegram/SourceFiles/dialogs/ui/dialogs_layout.cpp +@@ -1,3 +1,5 @@ @@ -2961,7 +2980,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/dialogs/ui/dialogs_suggestions.cpp b/Telegram/SourceFiles/dialogs/ui/dialogs_suggestions.cpp -+index 43b5c58..8b818af 100644 ++index 27b17ad..7c4144f 100644 +--- a/Telegram/SourceFiles/dialogs/ui/dialogs_suggestions.cpp ++++ b/Telegram/SourceFiles/dialogs/ui/dialogs_suggestions.cpp +@@ -1,3 +1,5 @@ @@ -2981,7 +3000,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/dialogs/ui/dialogs_video_userpic.cpp b/Telegram/SourceFiles/dialogs/ui/dialogs_video_userpic.cpp -+index 188d512..7a4b32a 100644 ++index 9f970a3..10db1d9 100644 +--- a/Telegram/SourceFiles/dialogs/ui/dialogs_video_userpic.cpp ++++ b/Telegram/SourceFiles/dialogs/ui/dialogs_video_userpic.cpp +@@ -1,3 +1,5 @@ @@ -3160,7 +3179,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/export/data/export_data_types.cpp b/Telegram/SourceFiles/export/data/export_data_types.cpp -+index 0301f1c..5ab94bd 100644 ++index 544a425..21c0713 100644 +--- a/Telegram/SourceFiles/export/data/export_data_types.cpp ++++ b/Telegram/SourceFiles/export/data/export_data_types.cpp +@@ -1,3 +1,4 @@ @@ -3169,7 +3188,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/export/export_api_wrap.cpp b/Telegram/SourceFiles/export/export_api_wrap.cpp -+index b511b9f..c5fe408 100644 ++index fe2cd8b..524130b 100644 +--- a/Telegram/SourceFiles/export/export_api_wrap.cpp ++++ b/Telegram/SourceFiles/export/export_api_wrap.cpp +@@ -1,3 +1,4 @@ @@ -3224,7 +3243,7 @@ index 0000000..2451ab1 + 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_html.cpp b/Telegram/SourceFiles/export/output/export_output_html.cpp -+index 4bdb71e..a379215 100644 ++index eda916d..5c24623 100644 +--- a/Telegram/SourceFiles/export/output/export_output_html.cpp ++++ b/Telegram/SourceFiles/export/output/export_output_html.cpp +@@ -1,3 +1,4 @@ @@ -3242,7 +3261,7 @@ index 0000000..2451ab1 + 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 14fe04b..8ac9062 100644 ++index 4e2faaf..a794891 100644 +--- a/Telegram/SourceFiles/export/output/export_output_json.cpp ++++ b/Telegram/SourceFiles/export/output/export_output_json.cpp +@@ -1,3 +1,4 @@ @@ -3319,7 +3338,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/admin_log/history_admin_log_inner.cpp b/Telegram/SourceFiles/history/admin_log/history_admin_log_inner.cpp -+index b37da32..1a90bbb 100644 ++index a7ea96d..37972eb 100644 +--- a/Telegram/SourceFiles/history/admin_log/history_admin_log_inner.cpp ++++ b/Telegram/SourceFiles/history/admin_log/history_admin_log_inner.cpp +@@ -1,3 +1,5 @@ @@ -3349,7 +3368,7 @@ index 0000000..2451ab1 + 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 f78b3f9..fe5094c 100644 ++index 52d6a1a..399631b 100644 +--- a/Telegram/SourceFiles/history/history.cpp ++++ b/Telegram/SourceFiles/history/history.cpp +@@ -1,3 +1,5 @@ @@ -3369,7 +3388,7 @@ index 0000000..2451ab1 + 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 9ccd9fe..178a32a 100644 ++index f239ff2..31f0bf1 100644 +--- a/Telegram/SourceFiles/history/history_inner_widget.cpp ++++ b/Telegram/SourceFiles/history/history_inner_widget.cpp +@@ -1,3 +1,5 @@ @@ -3379,7 +3398,7 @@ index 0000000..2451ab1 + 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 9b422e1..825f606 100644 ++index cc757bc..156b4f4 100644 +--- a/Telegram/SourceFiles/history/history_item.cpp ++++ b/Telegram/SourceFiles/history/history_item.cpp +@@ -1,3 +1,5 @@ @@ -3419,7 +3438,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/history_item_reply_markup.cpp b/Telegram/SourceFiles/history/history_item_reply_markup.cpp -+index 5cd532a..d241350 100644 ++index 319a772..8f10bd2 100644 +--- a/Telegram/SourceFiles/history/history_item_reply_markup.cpp ++++ b/Telegram/SourceFiles/history/history_item_reply_markup.cpp +@@ -1,3 +1,5 @@ @@ -3479,7 +3498,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/history_view_swipe.cpp b/Telegram/SourceFiles/history/history_view_swipe.cpp -+index 214310f..fcc206d 100644 ++index cbe9d65..d2984d1 100644 +--- a/Telegram/SourceFiles/history/history_view_swipe.cpp ++++ b/Telegram/SourceFiles/history/history_view_swipe.cpp +@@ -1,3 +1,4 @@ @@ -3497,7 +3516,7 @@ index 0000000..2451ab1 + 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 3d067da..86fb490 100644 ++index ddd81cf..86c137f 100644 +--- a/Telegram/SourceFiles/history/history_widget.cpp ++++ b/Telegram/SourceFiles/history/history_widget.cpp +@@ -1,3 +1,5 @@ @@ -3516,7 +3535,7 @@ index 0000000..2451ab1 + 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_compose_controls.cpp b/Telegram/SourceFiles/history/view/controls/history_view_compose_controls.cpp -+index 9eed3ae..062fd34 100644 ++index c63696f..cdabf72 100644 +--- a/Telegram/SourceFiles/history/view/controls/history_view_compose_controls.cpp ++++ b/Telegram/SourceFiles/history/view/controls/history_view_compose_controls.cpp +@@ -1,3 +1,5 @@ @@ -3535,7 +3554,7 @@ index 0000000..2451ab1 + 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_compose_search.cpp b/Telegram/SourceFiles/history/view/controls/history_view_compose_search.cpp -+index cc44635..2b51617 100644 ++index 19bf4bb..00a5241 100644 +--- a/Telegram/SourceFiles/history/view/controls/history_view_compose_search.cpp ++++ b/Telegram/SourceFiles/history/view/controls/history_view_compose_search.cpp +@@ -1,3 +1,5 @@ @@ -3575,7 +3594,7 @@ index 0000000..2451ab1 + 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_voice_record_bar.cpp b/Telegram/SourceFiles/history/view/controls/history_view_voice_record_bar.cpp -+index c6fd7bf..4acce34 100644 ++index 1f80fb1..1836778 100644 +--- a/Telegram/SourceFiles/history/view/controls/history_view_voice_record_bar.cpp ++++ b/Telegram/SourceFiles/history/view/controls/history_view_voice_record_bar.cpp +@@ -1,3 +1,5 @@ @@ -3604,7 +3623,7 @@ index 0000000..2451ab1 + 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 3e6a46b..e523f50 100644 ++index 0c87a64..6ceadf3 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 @@ @@ -3624,7 +3643,7 @@ index 0000000..2451ab1 + 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_chat_preview.cpp b/Telegram/SourceFiles/history/view/history_view_chat_preview.cpp -+index 4747ce6..d249ce3 100644 ++index da6b492..1640422 100644 +--- a/Telegram/SourceFiles/history/view/history_view_chat_preview.cpp ++++ b/Telegram/SourceFiles/history/view/history_view_chat_preview.cpp +@@ -1,3 +1,5 @@ @@ -3634,7 +3653,7 @@ index 0000000..2451ab1 + 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_contact_status.cpp b/Telegram/SourceFiles/history/view/history_view_contact_status.cpp -+index a764199..aa5f246 100644 ++index 5d3025d..b55bef8 100644 +--- a/Telegram/SourceFiles/history/view/history_view_contact_status.cpp ++++ b/Telegram/SourceFiles/history/view/history_view_contact_status.cpp +@@ -1,3 +1,5 @@ @@ -3644,7 +3663,7 @@ index 0000000..2451ab1 + 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 ba765b3..a695314 100644 ++index 50ffc31..eef1065 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 @@ @@ -3674,7 +3693,7 @@ index 0000000..2451ab1 + 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_element.cpp b/Telegram/SourceFiles/history/view/history_view_element.cpp -+index 95d5e7a..f694805 100644 ++index 3b6dde0..159e22c 100644 +--- a/Telegram/SourceFiles/history/view/history_view_element.cpp ++++ b/Telegram/SourceFiles/history/view/history_view_element.cpp +@@ -1,3 +1,5 @@ @@ -3724,7 +3743,7 @@ index 0000000..2451ab1 + 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 ca1e163..71d3ece 100644 ++index 35d0d80..21e1081 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 @@ @@ -3734,7 +3753,7 @@ index 0000000..2451ab1 + 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 3a84ee9..8d40f44 100644 ++index b7d4e89..67826c9 100644 +--- a/Telegram/SourceFiles/history/view/history_view_message.cpp ++++ b/Telegram/SourceFiles/history/view/history_view_message.cpp +@@ -1,3 +1,5 @@ @@ -3794,7 +3813,7 @@ index 0000000..2451ab1 + 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 107e4bf..924db47 100644 ++index 6875517..8db34e5 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 @@ @@ -3904,7 +3923,7 @@ index 0000000..2451ab1 + 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_top_bar_widget.cpp b/Telegram/SourceFiles/history/view/history_view_top_bar_widget.cpp -+index 3912e53..b98d08f 100644 ++index 93c0e1a..5a11f23 100644 +--- a/Telegram/SourceFiles/history/view/history_view_top_bar_widget.cpp ++++ b/Telegram/SourceFiles/history/view/history_view_top_bar_widget.cpp +@@ -1,3 +1,5 @@ @@ -3984,7 +4003,7 @@ index 0000000..2451ab1 + 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_custom_emoji.cpp b/Telegram/SourceFiles/history/view/media/history_view_custom_emoji.cpp -+index 51c69c8..c975d8f 100644 ++index 94de0a3..c6005c9 100644 +--- a/Telegram/SourceFiles/history/view/media/history_view_custom_emoji.cpp ++++ b/Telegram/SourceFiles/history/view/media/history_view_custom_emoji.cpp +@@ -1,3 +1,5 @@ @@ -4004,7 +4023,7 @@ index 0000000..2451ab1 + 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 4f43cc9..362b253 100644 ++index b163321..33b107f 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 @@ @@ -4164,7 +4183,7 @@ index 0000000..2451ab1 + 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 12e9f1f..facccd0 100644 ++index 0a9aea1..a169eb0 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 @@ @@ -4204,7 +4223,7 @@ index 0000000..2451ab1 + 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_sticker.cpp b/Telegram/SourceFiles/history/view/media/history_view_sticker.cpp -+index 69e8bc0..f458692 100644 ++index 88e59cf..6a81592 100644 +--- a/Telegram/SourceFiles/history/view/media/history_view_sticker.cpp ++++ b/Telegram/SourceFiles/history/view/media/history_view_sticker.cpp +@@ -1,3 +1,5 @@ @@ -4234,7 +4253,7 @@ index 0000000..2451ab1 + 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 66db740..65c7351 100644 ++index ba324f7..84b9171 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 @@ @@ -4254,7 +4273,7 @@ index 0000000..2451ab1 + 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 4624170..7bbfc5b 100644 ++index 061947f..6c68824 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 @@ @@ -4284,7 +4303,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/reactions/history_view_reactions_list.cpp b/Telegram/SourceFiles/history/view/reactions/history_view_reactions_list.cpp -+index f925dcb..3d46ecb 100644 ++index 209e73e..55b876a 100644 +--- a/Telegram/SourceFiles/history/view/reactions/history_view_reactions_list.cpp ++++ b/Telegram/SourceFiles/history/view/reactions/history_view_reactions_list.cpp +@@ -1,3 +1,5 @@ @@ -4324,7 +4343,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/bot/earn/info_bot_earn_list.cpp b/Telegram/SourceFiles/info/bot/earn/info_bot_earn_list.cpp -+index a1ec889..49b4039 100644 ++index 360c9c7..143a998 100644 +--- a/Telegram/SourceFiles/info/bot/earn/info_bot_earn_list.cpp ++++ b/Telegram/SourceFiles/info/bot/earn/info_bot_earn_list.cpp +@@ -1,3 +1,5 @@ @@ -4343,8 +4362,45 @@ index 0000000..2451ab1 + /* + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. ++diff --git a/Telegram/SourceFiles/info/bot/starref/info_bot_starref_common.cpp b/Telegram/SourceFiles/info/bot/starref/info_bot_starref_common.cpp ++index 1b89ba5..70d5ae2 100644 ++--- a/Telegram/SourceFiles/info/bot/starref/info_bot_starref_common.cpp +++++ b/Telegram/SourceFiles/info/bot/starref/info_bot_starref_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. ++@@ -1063,4 +1065,4 @@ ConnectedBots Parse( ++ return result; ++ } ++ ++-} // namespace Info::BotStarRef ++\ No newline at end of file +++} // namespace Info::BotStarRef ++diff --git a/Telegram/SourceFiles/info/bot/starref/info_bot_starref_join_widget.cpp b/Telegram/SourceFiles/info/bot/starref/info_bot_starref_join_widget.cpp ++index 3893066..3ea71fd 100644 ++--- a/Telegram/SourceFiles/info/bot/starref/info_bot_starref_join_widget.cpp +++++ b/Telegram/SourceFiles/info/bot/starref/info_bot_starref_join_widget.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/bot/starref/info_bot_starref_setup_widget.cpp b/Telegram/SourceFiles/info/bot/starref/info_bot_starref_setup_widget.cpp ++index 4ddb5e9..0f32622 100644 ++--- a/Telegram/SourceFiles/info/bot/starref/info_bot_starref_setup_widget.cpp +++++ b/Telegram/SourceFiles/info/bot/starref/info_bot_starref_setup_widget.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/channel_statistics/boosts/create_giveaway_box.cpp b/Telegram/SourceFiles/info/channel_statistics/boosts/create_giveaway_box.cpp -+index b78da5c..edc032a 100644 ++index 1fbf977..ea8a5d5 100644 +--- a/Telegram/SourceFiles/info/channel_statistics/boosts/create_giveaway_box.cpp ++++ b/Telegram/SourceFiles/info/channel_statistics/boosts/create_giveaway_box.cpp +@@ -1,3 +1,5 @@ @@ -4373,7 +4429,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/channel_statistics/boosts/giveaway/giveaway_type_row.cpp b/Telegram/SourceFiles/info/channel_statistics/boosts/giveaway/giveaway_type_row.cpp -+index b97184d..54e1d94 100644 ++index 60c1814..7f82ca2 100644 +--- a/Telegram/SourceFiles/info/channel_statistics/boosts/giveaway/giveaway_type_row.cpp ++++ b/Telegram/SourceFiles/info/channel_statistics/boosts/giveaway/giveaway_type_row.cpp +@@ -1,3 +1,4 @@ @@ -4391,7 +4447,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/channel_statistics/boosts/info_boosts_inner_widget.cpp b/Telegram/SourceFiles/info/channel_statistics/boosts/info_boosts_inner_widget.cpp -+index 09ca042..a1ee944 100644 ++index 5b66482..4e6d364 100644 +--- a/Telegram/SourceFiles/info/channel_statistics/boosts/info_boosts_inner_widget.cpp ++++ b/Telegram/SourceFiles/info/channel_statistics/boosts/info_boosts_inner_widget.cpp +@@ -1,3 +1,5 @@ @@ -4411,7 +4467,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/channel_statistics/earn/earn_format.cpp b/Telegram/SourceFiles/info/channel_statistics/earn/earn_format.cpp -+index 11f17b8..0e40476 100644 ++index 70e54d9..f7384a8 100644 +--- a/Telegram/SourceFiles/info/channel_statistics/earn/earn_format.cpp ++++ b/Telegram/SourceFiles/info/channel_statistics/earn/earn_format.cpp +@@ -1,3 +1,4 @@ @@ -4420,7 +4476,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/channel_statistics/earn/earn_icons.cpp b/Telegram/SourceFiles/info/channel_statistics/earn/earn_icons.cpp -+index 0a57f92..257bf7d 100644 ++index b6c3ad8..df27aa1 100644 +--- a/Telegram/SourceFiles/info/channel_statistics/earn/earn_icons.cpp ++++ b/Telegram/SourceFiles/info/channel_statistics/earn/earn_icons.cpp +@@ -1,3 +1,4 @@ @@ -4429,7 +4485,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/channel_statistics/earn/info_channel_earn_list.cpp b/Telegram/SourceFiles/info/channel_statistics/earn/info_channel_earn_list.cpp -+index 88da162..0a0ef6d 100644 ++index a46d5f3..9ee40cf 100644 +--- a/Telegram/SourceFiles/info/channel_statistics/earn/info_channel_earn_list.cpp ++++ b/Telegram/SourceFiles/info/channel_statistics/earn/info_channel_earn_list.cpp +@@ -1,3 +1,5 @@ @@ -4448,16 +4504,6 @@ index 0000000..2451ab1 + /* + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. -+diff --git a/Telegram/SourceFiles/info/channels/info_channels_widget.cpp b/Telegram/SourceFiles/info/channels/info_channels_widget.cpp -+index 3b6c115..2a06e24 100644 -+--- a/Telegram/SourceFiles/info/channels/info_channels_widget.cpp -++++ b/Telegram/SourceFiles/info/channels/info_channels_widget.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/common_groups/info_common_groups_inner_widget.cpp b/Telegram/SourceFiles/info/common_groups/info_common_groups_inner_widget.cpp +index cd5fe0b..b168d88 100644 +--- a/Telegram/SourceFiles/info/common_groups/info_common_groups_inner_widget.cpp @@ -4469,7 +4515,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/common_groups/info_common_groups_widget.cpp b/Telegram/SourceFiles/info/common_groups/info_common_groups_widget.cpp -+index 392bee4..95363aa 100644 ++index f81019b..0bbe23a 100644 +--- a/Telegram/SourceFiles/info/common_groups/info_common_groups_widget.cpp ++++ b/Telegram/SourceFiles/info/common_groups/info_common_groups_widget.cpp +@@ -1,3 +1,5 @@ @@ -4509,7 +4555,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/info_content_widget.cpp b/Telegram/SourceFiles/info/info_content_widget.cpp -+index 9428647..55d849c 100644 ++index 444b503..f59ff0d 100644 +--- a/Telegram/SourceFiles/info/info_content_widget.cpp ++++ b/Telegram/SourceFiles/info/info_content_widget.cpp +@@ -1,3 +1,5 @@ @@ -4519,7 +4565,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/info_controller.cpp b/Telegram/SourceFiles/info/info_controller.cpp -+index 7470b1d..1d66a10 100644 ++index 44a8034..933c971 100644 +--- a/Telegram/SourceFiles/info/info_controller.cpp ++++ b/Telegram/SourceFiles/info/info_controller.cpp +@@ -1,3 +1,5 @@ @@ -4539,7 +4585,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/info_memento.cpp b/Telegram/SourceFiles/info/info_memento.cpp -+index a8018f2..9220e86 100644 ++index ce2b89d..1aa3c02 100644 +--- a/Telegram/SourceFiles/info/info_memento.cpp ++++ b/Telegram/SourceFiles/info/info_memento.cpp +@@ -1,3 +1,5 @@ @@ -4559,7 +4605,7 @@ index 0000000..2451ab1 + 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 0a59d52..17ffaaf 100644 ++index c08303b..129cb90 100644 +--- a/Telegram/SourceFiles/info/info_top_bar.cpp ++++ b/Telegram/SourceFiles/info/info_top_bar.cpp +@@ -1,3 +1,5 @@ @@ -4569,7 +4615,7 @@ index 0000000..2451ab1 + 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 363558e..60a6c85 100644 ++index 24b133d..bf15dd1 100644 +--- a/Telegram/SourceFiles/info/info_wrap_widget.cpp ++++ b/Telegram/SourceFiles/info/info_wrap_widget.cpp +@@ -1,3 +1,5 @@ @@ -4679,7 +4725,7 @@ index 0000000..2451ab1 + 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 f54e09e..e6d9818 100644 ++index d2b8b31..0e986d2 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 @@ @@ -4689,7 +4735,7 @@ index 0000000..2451ab1 + 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_widget.cpp b/Telegram/SourceFiles/info/polls/info_polls_results_widget.cpp -+index 02d3fe0..c61983b 100644 ++index 056eb35..11a8d67 100644 +--- a/Telegram/SourceFiles/info/polls/info_polls_results_widget.cpp ++++ b/Telegram/SourceFiles/info/polls/info_polls_results_widget.cpp +@@ -1,3 +1,5 @@ @@ -4699,7 +4745,7 @@ index 0000000..2451ab1 + 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 4061189..6a39b9d 100644 ++index b9a19fa..2e64f69 100644 +--- a/Telegram/SourceFiles/info/profile/info_profile_actions.cpp ++++ b/Telegram/SourceFiles/info/profile/info_profile_actions.cpp +@@ -1,3 +1,5 @@ @@ -4719,7 +4765,7 @@ index 0000000..2451ab1 + 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_cover.cpp b/Telegram/SourceFiles/info/profile/info_profile_cover.cpp -+index a35609c..64b0a98 100644 ++index c91b146..7f67ea8 100644 +--- a/Telegram/SourceFiles/info/profile/info_profile_cover.cpp ++++ b/Telegram/SourceFiles/info/profile/info_profile_cover.cpp +@@ -1,3 +1,5 @@ @@ -4817,6 +4863,26 @@ index 0000000..2451ab1 + /* + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. ++diff --git a/Telegram/SourceFiles/info/reactions_list/info_reactions_list_widget.cpp b/Telegram/SourceFiles/info/reactions_list/info_reactions_list_widget.cpp ++index 9b0f4ad..5e03f0a 100644 ++--- a/Telegram/SourceFiles/info/reactions_list/info_reactions_list_widget.cpp +++++ b/Telegram/SourceFiles/info/reactions_list/info_reactions_list_widget.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/requests_list/info_requests_list_widget.cpp b/Telegram/SourceFiles/info/requests_list/info_requests_list_widget.cpp ++index 2fae27d..2511504 100644 ++--- a/Telegram/SourceFiles/info/requests_list/info_requests_list_widget.cpp +++++ b/Telegram/SourceFiles/info/requests_list/info_requests_list_widget.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/saved/info_saved_sublists_widget.cpp b/Telegram/SourceFiles/info/saved/info_saved_sublists_widget.cpp +index 3a3ff46..3facdf8 100644 +--- a/Telegram/SourceFiles/info/saved/info_saved_sublists_widget.cpp @@ -4858,7 +4924,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/statistics/info_statistics_list_controllers.cpp b/Telegram/SourceFiles/info/statistics/info_statistics_list_controllers.cpp -+index b342ad0..086ac35 100644 ++index 7994168..a953df5 100644 +--- a/Telegram/SourceFiles/info/statistics/info_statistics_list_controllers.cpp ++++ b/Telegram/SourceFiles/info/statistics/info_statistics_list_controllers.cpp +@@ -1,3 +1,5 @@ @@ -5005,7 +5071,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/inline_bots/bot_attach_web_view.cpp b/Telegram/SourceFiles/inline_bots/bot_attach_web_view.cpp -+index be215bc..bf1c2a3 100644 ++index cf50857..05ea727 100644 +--- a/Telegram/SourceFiles/inline_bots/bot_attach_web_view.cpp ++++ b/Telegram/SourceFiles/inline_bots/bot_attach_web_view.cpp +@@ -1,3 +1,4 @@ @@ -5013,6 +5079,24 @@ index 0000000..2451ab1 + /* + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. ++diff --git a/Telegram/SourceFiles/inline_bots/inline_bot_confirm_prepared.cpp b/Telegram/SourceFiles/inline_bots/inline_bot_confirm_prepared.cpp ++index 4b4b434..c49fcaf 100644 ++--- a/Telegram/SourceFiles/inline_bots/inline_bot_confirm_prepared.cpp +++++ b/Telegram/SourceFiles/inline_bots/inline_bot_confirm_prepared.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/inline_bots/inline_bot_downloads.cpp b/Telegram/SourceFiles/inline_bots/inline_bot_downloads.cpp ++index d1c82d5..3502830 100644 ++--- a/Telegram/SourceFiles/inline_bots/inline_bot_downloads.cpp +++++ b/Telegram/SourceFiles/inline_bots/inline_bot_downloads.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/inline_bots/inline_bot_layout_internal.cpp b/Telegram/SourceFiles/inline_bots/inline_bot_layout_internal.cpp +index 616280a..7c32370 100644 +--- a/Telegram/SourceFiles/inline_bots/inline_bot_layout_internal.cpp @@ -5032,7 +5116,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/inline_bots/inline_bot_result.cpp b/Telegram/SourceFiles/inline_bots/inline_bot_result.cpp -+index 612d357..d86b6b5 100644 ++index 7c487f8..5296e32 100644 +--- a/Telegram/SourceFiles/inline_bots/inline_bot_result.cpp ++++ b/Telegram/SourceFiles/inline_bots/inline_bot_result.cpp +@@ -1,3 +1,4 @@ @@ -5041,7 +5125,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/inline_bots/inline_bot_send_data.cpp b/Telegram/SourceFiles/inline_bots/inline_bot_send_data.cpp -+index 0b8e9d8..cd85a66 100644 ++index 714516b..dda1c27 100644 +--- a/Telegram/SourceFiles/inline_bots/inline_bot_send_data.cpp ++++ b/Telegram/SourceFiles/inline_bots/inline_bot_send_data.cpp +@@ -1,3 +1,4 @@ @@ -5131,7 +5215,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/intro/intro_step.cpp b/Telegram/SourceFiles/intro/intro_step.cpp -+index 9e9a266..ef8aef1 100644 ++index e019da1..dd48cff 100644 +--- a/Telegram/SourceFiles/intro/intro_step.cpp ++++ b/Telegram/SourceFiles/intro/intro_step.cpp +@@ -1,3 +1,4 @@ @@ -5180,7 +5264,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/iv/iv_instance.cpp b/Telegram/SourceFiles/iv/iv_instance.cpp -+index 8078828..3fc8073 100644 ++index b4fbc4e..e23fd53 100644 +--- a/Telegram/SourceFiles/iv/iv_instance.cpp ++++ b/Telegram/SourceFiles/iv/iv_instance.cpp +@@ -1,3 +1,6 @@ @@ -5249,7 +5333,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/lang/lang_tag.cpp b/Telegram/SourceFiles/lang/lang_tag.cpp -+index 2435a77..ddd99de 100644 ++index d11cb10..b0cd49a 100644 +--- a/Telegram/SourceFiles/lang/lang_tag.cpp ++++ b/Telegram/SourceFiles/lang/lang_tag.cpp +@@ -1,3 +1,4 @@ @@ -5258,7 +5342,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/lang/lang_tag.h b/Telegram/SourceFiles/lang/lang_tag.h -+index b1163b0..23098bf 100644 ++index 1012d27..26166f6 100644 +--- a/Telegram/SourceFiles/lang/lang_tag.h ++++ b/Telegram/SourceFiles/lang/lang_tag.h +@@ -1,3 +1,4 @@ @@ -5342,7 +5426,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/logs.cpp b/Telegram/SourceFiles/logs.cpp -+index 9a04542..c057d25 100644 ++index 382d65a..2fa47df 100644 +--- a/Telegram/SourceFiles/logs.cpp ++++ b/Telegram/SourceFiles/logs.cpp +@@ -1,3 +1,4 @@ @@ -5369,7 +5453,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/main/main_app_config.cpp b/Telegram/SourceFiles/main/main_app_config.cpp -+index f325c8e..ab506d5 100644 ++index c26d571..b546d38 100644 +--- a/Telegram/SourceFiles/main/main_app_config.cpp ++++ b/Telegram/SourceFiles/main/main_app_config.cpp +@@ -1,3 +1,4 @@ @@ -5432,7 +5516,7 @@ index 0000000..2451ab1 + 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 5fc463f..80dfdf2 100644 ++index 5cd766f..00827cc 100644 +--- a/Telegram/SourceFiles/mainwidget.cpp ++++ b/Telegram/SourceFiles/mainwidget.cpp +@@ -1,3 +1,4 @@ @@ -5450,7 +5534,7 @@ index 0000000..2451ab1 + 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.cpp b/Telegram/SourceFiles/media/audio/media_audio.cpp -+index 2b4c570..31f6e95 100644 ++index 86fe5ce..cfaffc8 100644 +--- a/Telegram/SourceFiles/media/audio/media_audio.cpp ++++ b/Telegram/SourceFiles/media/audio/media_audio.cpp +@@ -1,3 +1,5 @@ @@ -5643,7 +5727,7 @@ index 0000000..2451ab1 + 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_controller.cpp b/Telegram/SourceFiles/media/stories/media_stories_controller.cpp -+index 1405eaa..4007ad9 100644 ++index c0ca0eb..7f3f271 100644 +--- a/Telegram/SourceFiles/media/stories/media_stories_controller.cpp ++++ b/Telegram/SourceFiles/media/stories/media_stories_controller.cpp +@@ -1,3 +1,5 @@ @@ -5922,7 +6006,7 @@ index 0000000..2451ab1 + 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 183f891..2b45953 100644 ++index 921c393..b6fc3b3 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 @@ @@ -6107,7 +6191,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/mtproto/dedicated_file_loader.cpp b/Telegram/SourceFiles/mtproto/dedicated_file_loader.cpp -+index 850d5c6..7641f7f 100644 ++index 72e69e4..a18f7b2 100644 +--- a/Telegram/SourceFiles/mtproto/dedicated_file_loader.cpp ++++ b/Telegram/SourceFiles/mtproto/dedicated_file_loader.cpp +@@ -1,3 +1,5 @@ @@ -6162,7 +6246,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/mtproto/details/mtproto_domain_resolver.cpp b/Telegram/SourceFiles/mtproto/details/mtproto_domain_resolver.cpp -+index 0206faf..884c70d 100644 ++index e182209..df61f24 100644 +--- a/Telegram/SourceFiles/mtproto/details/mtproto_domain_resolver.cpp ++++ b/Telegram/SourceFiles/mtproto/details/mtproto_domain_resolver.cpp +@@ -1,3 +1,4 @@ @@ -6308,7 +6392,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/mtproto/session.cpp b/Telegram/SourceFiles/mtproto/session.cpp -+index 0a50a45..0bcb324 100644 ++index 842541e..aafd711 100644 +--- a/Telegram/SourceFiles/mtproto/session.cpp ++++ b/Telegram/SourceFiles/mtproto/session.cpp +@@ -1,8 +1,10 @@ @@ -6501,7 +6585,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/payments/payments_form.cpp b/Telegram/SourceFiles/payments/payments_form.cpp -+index 7941404..cb9c198 100644 ++index 6431796..050a55a 100644 +--- a/Telegram/SourceFiles/payments/payments_form.cpp ++++ b/Telegram/SourceFiles/payments/payments_form.cpp +@@ -1,3 +1,5 @@ @@ -6511,7 +6595,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/payments/payments_non_panel_process.cpp b/Telegram/SourceFiles/payments/payments_non_panel_process.cpp -+index 6f348df..4fcea25 100644 ++index 0b9e292..5b46b2a 100644 +--- a/Telegram/SourceFiles/payments/payments_non_panel_process.cpp ++++ b/Telegram/SourceFiles/payments/payments_non_panel_process.cpp +@@ -1,3 +1,5 @@ @@ -6679,7 +6763,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/payments/ui/payments_panel.cpp b/Telegram/SourceFiles/payments/ui/payments_panel.cpp -+index 2bc023e..486c5b6 100644 ++index b0e1bcc..1cbd7e0 100644 +--- a/Telegram/SourceFiles/payments/ui/payments_panel.cpp ++++ b/Telegram/SourceFiles/payments/ui/payments_panel.cpp +@@ -1,3 +1,5 @@ @@ -6689,7 +6773,7 @@ index 0000000..2451ab1 + 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 c874eb3..b28af48 100644 ++index 399b18e..9f715de 100644 +--- a/Telegram/SourceFiles/payments/ui/payments_reaction_box.cpp ++++ b/Telegram/SourceFiles/payments/ui/payments_reaction_box.cpp +@@ -1,3 +1,5 @@ @@ -6883,7 +6967,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/settings/business/settings_chatbots.cpp b/Telegram/SourceFiles/settings/business/settings_chatbots.cpp -+index cd439e1..399abe2 100644 ++index e85df4a..8def4e9 100644 +--- a/Telegram/SourceFiles/settings/business/settings_chatbots.cpp ++++ b/Telegram/SourceFiles/settings/business/settings_chatbots.cpp +@@ -1,3 +1,5 @@ @@ -7015,6 +7099,15 @@ index 0000000..2451ab1 + /* + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. ++diff --git a/Telegram/SourceFiles/settings/settings_active_sessions.cpp b/Telegram/SourceFiles/settings/settings_active_sessions.cpp ++index 2b8368b..140c084 100644 ++--- a/Telegram/SourceFiles/settings/settings_active_sessions.cpp +++++ b/Telegram/SourceFiles/settings/settings_active_sessions.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_advanced.cpp b/Telegram/SourceFiles/settings/settings_advanced.cpp +index fcd2438..421c399 100644 +--- a/Telegram/SourceFiles/settings/settings_advanced.cpp @@ -7034,7 +7127,7 @@ index 0000000..2451ab1 + 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 66b707c..0c55876 100644 ++index c60d209..bba2725 100644 +--- a/Telegram/SourceFiles/settings/settings_business.cpp ++++ b/Telegram/SourceFiles/settings/settings_business.cpp +@@ -1,3 +1,4 @@ @@ -7052,7 +7145,7 @@ index 0000000..2451ab1 + 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 a83b75b..6840b18 100644 ++index 1dfda76..24a0f21 100644 +--- a/Telegram/SourceFiles/settings/settings_chat.cpp ++++ b/Telegram/SourceFiles/settings/settings_chat.cpp +@@ -1,3 +1,4 @@ @@ -7070,7 +7163,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/settings/settings_common.cpp b/Telegram/SourceFiles/settings/settings_common.cpp -+index 77cdd80..65f7707 100644 ++index 2cee2e2..b194823 100644 +--- a/Telegram/SourceFiles/settings/settings_common.cpp ++++ b/Telegram/SourceFiles/settings/settings_common.cpp +@@ -1,3 +1,4 @@ @@ -7088,7 +7181,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/settings/settings_credits.cpp b/Telegram/SourceFiles/settings/settings_credits.cpp -+index b36f1df..5a6f08f 100644 ++index 1ea0232..4fa7768 100644 +--- a/Telegram/SourceFiles/settings/settings_credits.cpp ++++ b/Telegram/SourceFiles/settings/settings_credits.cpp +@@ -1,3 +1,4 @@ @@ -7097,7 +7190,7 @@ index 0000000..2451ab1 + 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 6f50c87..17669fe 100644 ++index 3a55dfb..5b622a9 100644 +--- a/Telegram/SourceFiles/settings/settings_credits_graphics.cpp ++++ b/Telegram/SourceFiles/settings/settings_credits_graphics.cpp +@@ -1,3 +1,4 @@ @@ -7115,7 +7208,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/settings/settings_folders.cpp b/Telegram/SourceFiles/settings/settings_folders.cpp -+index 7d9c370..6299164 100644 ++index f914270..e58cd14 100644 +--- a/Telegram/SourceFiles/settings/settings_folders.cpp ++++ b/Telegram/SourceFiles/settings/settings_folders.cpp +@@ -1,3 +1,4 @@ @@ -7160,7 +7253,7 @@ index 0000000..2451ab1 + 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 47aafcd..5e022a7 100644 ++index f151253..fc5dd7f 100644 +--- a/Telegram/SourceFiles/settings/settings_main.cpp ++++ b/Telegram/SourceFiles/settings/settings_main.cpp +@@ -1,3 +1,4 @@ @@ -7196,7 +7289,7 @@ index 0000000..2451ab1 + 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 6c239c4..6e93c05 100644 ++index 172420f..d601b5e 100644 +--- a/Telegram/SourceFiles/settings/settings_premium.cpp ++++ b/Telegram/SourceFiles/settings/settings_premium.cpp +@@ -1,3 +1,4 @@ @@ -7205,7 +7298,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/settings/settings_privacy_controllers.cpp b/Telegram/SourceFiles/settings/settings_privacy_controllers.cpp -+index dc9a7bc..f80ed33 100644 ++index c93c50a..af03a20 100644 +--- a/Telegram/SourceFiles/settings/settings_privacy_controllers.cpp ++++ b/Telegram/SourceFiles/settings/settings_privacy_controllers.cpp +@@ -1,3 +1,4 @@ @@ -7214,7 +7307,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/settings/settings_privacy_security.cpp b/Telegram/SourceFiles/settings/settings_privacy_security.cpp -+index f71134c..a75f1a0 100644 ++index 05fe9a2..9b13912 100644 +--- a/Telegram/SourceFiles/settings/settings_privacy_security.cpp ++++ b/Telegram/SourceFiles/settings/settings_privacy_security.cpp +@@ -1,3 +1,4 @@ @@ -7232,7 +7325,7 @@ index 0000000..2451ab1 + 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 55bf911..0066313 100644 ++index 836f20a..d1526d9 100644 +--- a/Telegram/SourceFiles/settings/settings_websites.cpp ++++ b/Telegram/SourceFiles/settings/settings_websites.cpp +@@ -1,3 +1,4 @@ @@ -7376,7 +7469,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/statistics/widgets/chart_header_widget.cpp b/Telegram/SourceFiles/statistics/widgets/chart_header_widget.cpp -+index f22cffc..553272e 100644 ++index b8754ce..5a8f9dd 100644 +--- a/Telegram/SourceFiles/statistics/widgets/chart_header_widget.cpp ++++ b/Telegram/SourceFiles/statistics/widgets/chart_header_widget.cpp +@@ -1,3 +1,4 @@ @@ -7394,7 +7487,7 @@ index 0000000..2451ab1 + 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 1091c99..1e00a98 100644 ++index aacc2de..902cf26 100644 +--- a/Telegram/SourceFiles/statistics/widgets/point_details_widget.cpp ++++ b/Telegram/SourceFiles/statistics/widgets/point_details_widget.cpp +@@ -1,3 +1,4 @@ @@ -7412,7 +7505,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/storage/details/storage_settings_scheme.cpp b/Telegram/SourceFiles/storage/details/storage_settings_scheme.cpp -+index 695f8f5..41de420 100644 ++index d942143..90cbba7 100644 +--- a/Telegram/SourceFiles/storage/details/storage_settings_scheme.cpp ++++ b/Telegram/SourceFiles/storage/details/storage_settings_scheme.cpp +@@ -1,3 +1,4 @@ @@ -7448,7 +7541,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/storage/file_download_web.cpp b/Telegram/SourceFiles/storage/file_download_web.cpp -+index 33dda24..1cf529e 100644 ++index 1c56d8b..d448d72 100644 +--- a/Telegram/SourceFiles/storage/file_download_web.cpp ++++ b/Telegram/SourceFiles/storage/file_download_web.cpp +@@ -1,3 +1,4 @@ @@ -7457,7 +7550,7 @@ index 0000000..2451ab1 + 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 eef376b..13bb7d2 100644 ++index 765bcb7..d6412ef 100644 +--- a/Telegram/SourceFiles/storage/file_upload.cpp ++++ b/Telegram/SourceFiles/storage/file_upload.cpp +@@ -1,3 +1,4 @@ @@ -7511,7 +7604,7 @@ index 0000000..2451ab1 + 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 031e61e..cd759f8 100644 ++index 3c8d814..6d4bda6 100644 +--- a/Telegram/SourceFiles/storage/storage_account.cpp ++++ b/Telegram/SourceFiles/storage/storage_account.cpp +@@ -1,3 +1,4 @@ @@ -7800,7 +7893,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/boxes/peer_qr_box.cpp b/Telegram/SourceFiles/ui/boxes/peer_qr_box.cpp -+index 426f970..3bfea10 100644 ++index 33e7096..a82f91d 100644 +--- a/Telegram/SourceFiles/ui/boxes/peer_qr_box.cpp ++++ b/Telegram/SourceFiles/ui/boxes/peer_qr_box.cpp +@@ -1,3 +1,5 @@ @@ -7828,7 +7921,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/boxes/show_or_premium_box.cpp b/Telegram/SourceFiles/ui/boxes/show_or_premium_box.cpp -+index e44a172..eb7bf0e 100644 ++index 426ddce..7b0a1a0 100644 +--- a/Telegram/SourceFiles/ui/boxes/show_or_premium_box.cpp ++++ b/Telegram/SourceFiles/ui/boxes/show_or_premium_box.cpp +@@ -1,3 +1,4 @@ @@ -7899,8 +7992,17 @@ index 0000000..2451ab1 + /* + 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_downloads.cpp b/Telegram/SourceFiles/ui/chat/attach/attach_bot_downloads.cpp ++index 5f6fe43..58aedbd 100644 ++--- a/Telegram/SourceFiles/ui/chat/attach/attach_bot_downloads.cpp +++++ b/Telegram/SourceFiles/ui/chat/attach/attach_bot_downloads.cpp ++@@ -1,3 +1,4 @@ +++#include "ui/ui_pch.h" ++ /* ++ 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 daab635..908d7d9 100644 ++index 7f30d31..ac686c1 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 @@ @@ -8008,6 +8110,15 @@ index 0000000..2451ab1 + /* + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. ++diff --git a/Telegram/SourceFiles/ui/chat/chats_filter_tag.cpp b/Telegram/SourceFiles/ui/chat/chats_filter_tag.cpp ++index aa1b4bf..ee01386 100644 ++--- a/Telegram/SourceFiles/ui/chat/chats_filter_tag.cpp +++++ b/Telegram/SourceFiles/ui/chat/chats_filter_tag.cpp ++@@ -1,3 +1,4 @@ +++#include "ui/ui_pch.h" ++ /* ++ This file is part of Telegram Desktop, ++ the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/chat/choose_send_as.cpp b/Telegram/SourceFiles/ui/chat/choose_send_as.cpp +index d7c7f08..40ccf5d 100644 +--- a/Telegram/SourceFiles/ui/chat/choose_send_as.cpp @@ -8110,7 +8221,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/chat/sponsored_message_bar.cpp b/Telegram/SourceFiles/ui/chat/sponsored_message_bar.cpp -+index 89a71b1..4b9133c 100644 ++index adce1fc..a0b5480 100644 +--- a/Telegram/SourceFiles/ui/chat/sponsored_message_bar.cpp ++++ b/Telegram/SourceFiles/ui/chat/sponsored_message_bar.cpp +@@ -1,3 +1,5 @@ @@ -8193,7 +8304,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/controls/filter_link_header.cpp b/Telegram/SourceFiles/ui/controls/filter_link_header.cpp -+index 0d69c0e..014339b 100644 ++index 8228d33..7fd9704 100644 +--- a/Telegram/SourceFiles/ui/controls/filter_link_header.cpp ++++ b/Telegram/SourceFiles/ui/controls/filter_link_header.cpp +@@ -1,3 +1,4 @@ @@ -8229,7 +8340,7 @@ index 0000000..2451ab1 + 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 71b3c6f..d55d372 100644 ++index ca0d3ff..eefbdeb 100644 +--- a/Telegram/SourceFiles/ui/controls/location_picker.cpp ++++ b/Telegram/SourceFiles/ui/controls/location_picker.cpp +@@ -1,3 +1,5 @@ @@ -8248,7 +8359,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/controls/round_video_recorder.cpp b/Telegram/SourceFiles/ui/controls/round_video_recorder.cpp -+index f01df21..0ee4b63 100644 ++index 4ba0e77..635e8b0 100644 +--- a/Telegram/SourceFiles/ui/controls/round_video_recorder.cpp ++++ b/Telegram/SourceFiles/ui/controls/round_video_recorder.cpp +@@ -1,3 +1,4 @@ @@ -8294,7 +8405,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/controls/userpic_button.cpp b/Telegram/SourceFiles/ui/controls/userpic_button.cpp -+index 947a157..efebee4 100644 ++index 472f8e1..dfc5e21 100644 +--- a/Telegram/SourceFiles/ui/controls/userpic_button.cpp ++++ b/Telegram/SourceFiles/ui/controls/userpic_button.cpp +@@ -1,3 +1,5 @@ @@ -8304,7 +8415,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/controls/who_reacted_context_action.cpp b/Telegram/SourceFiles/ui/controls/who_reacted_context_action.cpp -+index a2f8f72..600d246 100644 ++index 3aeb482..7321b76 100644 +--- a/Telegram/SourceFiles/ui/controls/who_reacted_context_action.cpp ++++ b/Telegram/SourceFiles/ui/controls/who_reacted_context_action.cpp +@@ -1,3 +1,4 @@ @@ -8351,7 +8462,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/effects/credits_graphics.cpp b/Telegram/SourceFiles/ui/effects/credits_graphics.cpp -+index 97b6a74..3e6ad0d 100644 ++index e48fc58..c31777a 100644 +--- a/Telegram/SourceFiles/ui/effects/credits_graphics.cpp ++++ b/Telegram/SourceFiles/ui/effects/credits_graphics.cpp +@@ -1,3 +1,5 @@ @@ -8453,7 +8564,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/effects/premium_top_bar.cpp b/Telegram/SourceFiles/ui/effects/premium_top_bar.cpp -+index e2b6192..0d1f97f 100644 ++index 4d538ce..de42840 100644 +--- a/Telegram/SourceFiles/ui/effects/premium_top_bar.cpp ++++ b/Telegram/SourceFiles/ui/effects/premium_top_bar.cpp +@@ -1,3 +1,4 @@ @@ -8518,7 +8629,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/effects/toggle_arrow.cpp b/Telegram/SourceFiles/ui/effects/toggle_arrow.cpp -+index 57e152f..45c90b3 100644 ++index 1c8779a..c94093f 100644 +--- a/Telegram/SourceFiles/ui/effects/toggle_arrow.cpp ++++ b/Telegram/SourceFiles/ui/effects/toggle_arrow.cpp +@@ -1,3 +1,4 @@ @@ -8614,7 +8725,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/new_badges.cpp b/Telegram/SourceFiles/ui/new_badges.cpp -+index aa1cada..34b9886 100644 ++index 664248f..783f27f 100644 +--- a/Telegram/SourceFiles/ui/new_badges.cpp ++++ b/Telegram/SourceFiles/ui/new_badges.cpp +@@ -1,3 +1,4 @@ @@ -8722,6 +8833,34 @@ index 0000000..2451ab1 + /* + 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 a6e9bf2..3563eb8 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 @@ +++#include "ui/ui_pch.h" ++ /* ++ 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_reorder.cpp b/Telegram/SourceFiles/ui/widgets/chat_filters_tabs_slider_reorder.cpp ++index 21d0e96..f973cf3 100644 ++--- a/Telegram/SourceFiles/ui/widgets/chat_filters_tabs_slider_reorder.cpp +++++ b/Telegram/SourceFiles/ui/widgets/chat_filters_tabs_slider_reorder.cpp ++@@ -1,3 +1,4 @@ +++#include "ui/ui_pch.h" ++ /* ++ 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 5bb72e1..4d40d4c 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 @@ +++#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/ui/widgets/color_editor.cpp b/Telegram/SourceFiles/ui/widgets/color_editor.cpp +index c8fc937..9775c4a 100644 +--- a/Telegram/SourceFiles/ui/widgets/color_editor.cpp @@ -8741,7 +8880,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/widgets/discrete_sliders.cpp b/Telegram/SourceFiles/ui/widgets/discrete_sliders.cpp -+index 53dc4e3..97b4776 100644 ++index f686cef..d083713 100644 +--- a/Telegram/SourceFiles/ui/widgets/discrete_sliders.cpp ++++ b/Telegram/SourceFiles/ui/widgets/discrete_sliders.cpp +@@ -1,3 +1,4 @@ @@ -8750,7 +8889,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/widgets/expandable_peer_list.cpp b/Telegram/SourceFiles/ui/widgets/expandable_peer_list.cpp -+index db09645..d2e73cb 100644 ++index fa43f4b..379f5d7 100644 +--- a/Telegram/SourceFiles/ui/widgets/expandable_peer_list.cpp ++++ b/Telegram/SourceFiles/ui/widgets/expandable_peer_list.cpp +@@ -1,3 +1,5 @@ @@ -8822,6 +8961,16 @@ index 0000000..2451ab1 + /* + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. ++diff --git a/Telegram/SourceFiles/ui/widgets/peer_bubble.cpp b/Telegram/SourceFiles/ui/widgets/peer_bubble.cpp ++index 87ac897..dfd7fc7 100644 ++--- a/Telegram/SourceFiles/ui/widgets/peer_bubble.cpp +++++ b/Telegram/SourceFiles/ui/widgets/peer_bubble.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/ui/widgets/sent_code_field.cpp b/Telegram/SourceFiles/ui/widgets/sent_code_field.cpp +index f5ba4b8..53f7293 100644 +--- a/Telegram/SourceFiles/ui/widgets/sent_code_field.cpp @@ -8841,7 +8990,7 @@ index 0000000..2451ab1 + 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 208ed56..339c9cd 100644 ++index 334af50..059ec14 100644 +--- a/Telegram/SourceFiles/window/main_window.cpp ++++ b/Telegram/SourceFiles/window/main_window.cpp +@@ -1,3 +1,4 @@ @@ -8886,7 +9035,7 @@ index 0000000..2451ab1 + 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 899534d..0c3e12a 100644 ++index dcdbfcc..9b880d4 100644 +--- a/Telegram/SourceFiles/window/themes/window_theme.cpp ++++ b/Telegram/SourceFiles/window/themes/window_theme.cpp +@@ -1,3 +1,4 @@ @@ -9001,7 +9150,7 @@ index 0000000..2451ab1 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/window/window_controller.cpp b/Telegram/SourceFiles/window/window_controller.cpp -+index ec9fa54..2fe3e5c 100644 ++index fb47a40..e5906fc 100644 +--- a/Telegram/SourceFiles/window/window_controller.cpp ++++ b/Telegram/SourceFiles/window/window_controller.cpp +@@ -1,3 +1,4 @@ @@ -9010,7 +9159,7 @@ index 0000000..2451ab1 + 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 daf2178..5188a35 100644 ++index 3a2feb2..8ae457f 100644 +--- a/Telegram/SourceFiles/window/window_filters_menu.cpp ++++ b/Telegram/SourceFiles/window/window_filters_menu.cpp +@@ -1,3 +1,4 @@ @@ -9064,7 +9213,7 @@ index 0000000..2451ab1 + 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 a053bc8..388ec90 100644 ++index 9ec50c3..1232cbc 100644 +--- a/Telegram/SourceFiles/window/window_peer_menu.cpp ++++ b/Telegram/SourceFiles/window/window_peer_menu.cpp +@@ -1,3 +1,4 @@ @@ -9082,7 +9231,7 @@ index 0000000..2451ab1 + 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 06ce1e5..0076f78 100644 ++index cc73edd..abc81b5 100644 +--- a/Telegram/SourceFiles/window/window_session_controller.cpp ++++ b/Telegram/SourceFiles/window/window_session_controller.cpp +@@ -1,3 +1,4 @@ @@ -10118,7 +10267,7 @@ index 0000000..2451ab1 + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/effects/radial_animation.cpp b/Telegram/lib_ui/ui/effects/radial_animation.cpp -+index 8de21b6..7a4306d 100644 ++index a3efc15..6828e9a 100644 +--- a/Telegram/lib_ui/ui/effects/radial_animation.cpp ++++ b/Telegram/lib_ui/ui/effects/radial_animation.cpp +@@ -1,3 +1,4 @@ @@ -10388,7 +10537,7 @@ index 0000000..2451ab1 + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/platform/linux/ui_window_linux.cpp b/Telegram/lib_ui/ui/platform/linux/ui_window_linux.cpp -+index 7a3aa25..6c7eab4 100644 ++index dd1a463..305e285 100644 +--- a/Telegram/lib_ui/ui/platform/linux/ui_window_linux.cpp ++++ b/Telegram/lib_ui/ui/platform/linux/ui_window_linux.cpp +@@ -1,3 +1,4 @@ @@ -10451,7 +10600,7 @@ index 0000000..2451ab1 + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/platform/win/ui_window_win.cpp b/Telegram/lib_ui/ui/platform/win/ui_window_win.cpp -+index 6b06a80..0be82c0 100644 ++index e4cb1d7..ea39c9d 100644 +--- a/Telegram/lib_ui/ui/platform/win/ui_window_win.cpp ++++ b/Telegram/lib_ui/ui/platform/win/ui_window_win.cpp +@@ -1,3 +1,4 @@ @@ -10625,7 +10774,7 @@ index 0000000..2451ab1 + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/text/text_entity.cpp b/Telegram/lib_ui/ui/text/text_entity.cpp -+index 8c1e793..f1adc2f 100644 ++index 810f576..be6c6fc 100644 +--- a/Telegram/lib_ui/ui/text/text_entity.cpp ++++ b/Telegram/lib_ui/ui/text/text_entity.cpp +@@ -1,3 +1,4 @@ @@ -10661,7 +10810,7 @@ index 0000000..2451ab1 + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/text/text_utilities.cpp b/Telegram/lib_ui/ui/text/text_utilities.cpp -+index 4d5035e..c004dd2 100644 ++index d9e039d..0dcb6cf 100644 +--- a/Telegram/lib_ui/ui/text/text_utilities.cpp ++++ b/Telegram/lib_ui/ui/text/text_utilities.cpp +@@ -1,3 +1,4 @@ @@ -10706,7 +10855,7 @@ index 0000000..2451ab1 + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/toast/toast_widget.cpp b/Telegram/lib_ui/ui/toast/toast_widget.cpp -+index a03faf6..d8c342a 100644 ++index 836a270..3e27bf9 100644 +--- a/Telegram/lib_ui/ui/toast/toast_widget.cpp ++++ b/Telegram/lib_ui/ui/toast/toast_widget.cpp +@@ -1,3 +1,4 @@ @@ -10868,7 +11017,7 @@ index 0000000..2451ab1 + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/widgets/menu/menu.cpp b/Telegram/lib_ui/ui/widgets/menu/menu.cpp -+index 925abfa..c39bd31 100644 ++index c4bb831..85bc8ab 100644 +--- a/Telegram/lib_ui/ui/widgets/menu/menu.cpp ++++ b/Telegram/lib_ui/ui/widgets/menu/menu.cpp +@@ -1,3 +1,4 @@ @@ -10949,7 +11098,7 @@ index 0000000..2451ab1 + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/widgets/popup_menu.cpp b/Telegram/lib_ui/ui/widgets/popup_menu.cpp -+index 25da2ed..d55102a 100644 ++index 8820b10..5f8ffd3 100644 +--- a/Telegram/lib_ui/ui/widgets/popup_menu.cpp ++++ b/Telegram/lib_ui/ui/widgets/popup_menu.cpp +@@ -1,3 +1,4 @@ @@ -10976,7 +11125,7 @@ index 0000000..2451ab1 + // 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 2f69d39..01ae45b 100644 ++index 00baad3..fd84da5 100644 +--- a/Telegram/lib_ui/ui/widgets/separate_panel.cpp ++++ b/Telegram/lib_ui/ui/widgets/separate_panel.cpp +@@ -1,3 +1,4 @@ @@ -10994,7 +11143,7 @@ index 0000000..2451ab1 + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/widgets/side_bar_button.cpp b/Telegram/lib_ui/ui/widgets/side_bar_button.cpp -+index 470d94a..b67c95e 100644 ++index c9f06bc..6e22b43 100644 +--- a/Telegram/lib_ui/ui/widgets/side_bar_button.cpp ++++ b/Telegram/lib_ui/ui/widgets/side_bar_button.cpp +@@ -1,3 +1,4 @@ diff --git a/net-im/telegram-desktop/patches/telegram_desktop-5.7.2.patchset b/net-im/telegram-desktop/patches/telegram_desktop-5.9.0.patchset similarity index 98% rename from net-im/telegram-desktop/patches/telegram_desktop-5.7.2.patchset rename to net-im/telegram-desktop/patches/telegram_desktop-5.9.0.patchset index 9a5f21607..05d14f4cf 100644 --- a/net-im/telegram-desktop/patches/telegram_desktop-5.7.2.patchset +++ b/net-im/telegram-desktop/patches/telegram_desktop-5.9.0.patchset @@ -1,6 +1,6 @@ -From 99e03c823581b4e1e77db26170ddd07a93f8fc2a Mon Sep 17 00:00:00 2001 +From 6b9ebe7a241bf1ebe05a1742005a4c385c7d5e7c Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> -Date: Fri, 15 Nov 2024 23:00:32 +1000 +Date: Thu, 5 Dec 2024 13:47:11 +1000 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 13af508..7bb7170 100644 +index af21be8..7383d04 100644 --- a/Telegram/CMakeLists.txt +++ b/Telegram/CMakeLists.txt @@ -97,6 +97,15 @@ PRIVATE @@ -157,7 +157,7 @@ index 13af508..7bb7170 100644 target_precompile_headers(Telegram PRIVATE $<$:${src_loc}/stdafx.h>) nice_target_sources(Telegram ${src_loc} PRIVATE -@@ -1634,6 +1643,16 @@ if (NOT build_winstore) +@@ -1657,6 +1666,16 @@ if (NOT build_winstore) ) endif() @@ -174,7 +174,7 @@ index 13af508..7bb7170 100644 if (DESKTOP_APP_USE_PACKAGED) remove_target_sources(Telegram ${src_loc} platform/mac/mac_iconv_helper.c -@@ -1797,7 +1816,7 @@ else() +@@ -1820,7 +1839,7 @@ else() set(bundle_identifier "com.tdesktop.Telegram") endif() set(bundle_entitlements "Telegram.entitlements") @@ -204,17 +204,17 @@ index 51a9068..b5296bc 100644 if (const auto strong = weak.get()) { showBox(Box(SettingsBox, strong)); diff --git a/Telegram/SourceFiles/core/core_settings.h b/Telegram/SourceFiles/core/core_settings.h -index 3838463..8721099 100644 +index 87fb383..6e879b7 100644 --- a/Telegram/SourceFiles/core/core_settings.h +++ b/Telegram/SourceFiles/core/core_settings.h -@@ -1030,7 +1030,7 @@ private: +@@ -1034,7 +1034,7 @@ private: rpl::variable _dialogsNoChatWidthRatio; // per-window rpl::variable _thirdColumnWidth = kDefaultThirdColumnWidth; // p-w bool _notifyFromAll = true; - rpl::variable _nativeWindowFrame = false; + rpl::variable _nativeWindowFrame = true; rpl::variable> _systemDarkMode = std::nullopt; - rpl::variable _systemDarkModeEnabled = false; + rpl::variable _systemDarkModeEnabled = true; rpl::variable _windowTitleContent; diff --git a/Telegram/SourceFiles/core/sandbox.cpp b/Telegram/SourceFiles/core/sandbox.cpp index 4188882..0e0b448 100644 @@ -1100,7 +1100,7 @@ index 6cb3ff9..62fd650 100644 #include #include diff --git a/Telegram/lib_ui/ui/widgets/popup_menu.cpp b/Telegram/lib_ui/ui/widgets/popup_menu.cpp -index 0da7968..25da2ed 100644 +index c4dd382..8820b10 100644 --- a/Telegram/lib_ui/ui/widgets/popup_menu.cpp +++ b/Telegram/lib_ui/ui/widgets/popup_menu.cpp @@ -19,6 +19,10 @@ diff --git a/net-im/telegram-desktop/telegram_desktop-5.7.2.recipe b/net-im/telegram-desktop/telegram_desktop-5.9.0.recipe similarity index 97% rename from net-im/telegram-desktop/telegram_desktop-5.7.2.recipe rename to net-im/telegram-desktop/telegram_desktop-5.9.0.recipe index 3b8b7e558..c9e0dda99 100644 --- a/net-im/telegram-desktop/telegram_desktop-5.7.2.recipe +++ b/net-im/telegram-desktop/telegram_desktop-5.9.0.recipe @@ -5,7 +5,7 @@ COPYRIGHT="2013-2024 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="3442e28e01d937376e687615e3ee13fb580788c4deb7561b410522ce3452fdef" +CHECKSUM_SHA256="c9e74a9b49284c0d4197f0be7e02415e14c4f8bf46403d0663d39f44d7ac2fbc" 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" @@ -121,6 +121,7 @@ BUILD_PREREQUIRES=" cmd:gcc$secondaryArchSuffix cmd:g_ir_scanner cmd:make + cmd:lld >= 19 cmd:ninja cmd:patch cmd:pkg_config$secondaryArchSuffix @@ -149,7 +150,7 @@ BUILD() sed -i -e '/-fstack-protector-all/d' cmake/options_linux.cmake sed -i -e '/_GLIBCXX_ASSERTIONS/d' cmake/options_linux.cmake DISABLE_PRECOMPILE_HEADERS="ON" - CXX_FLAGS_RELEASE="-O2" + CXX_FLAGS_RELEASE="-O1 -fuse-ld=lld -Wl,--no-keep-memory -Wl,--undefined-version" fi # copy ada library files @@ -173,7 +174,7 @@ BUILD() cmake -S . -B build -G Ninja \ -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_CXX_FLAGS_RELEASE=$CXX_FLAGS_RELEASE \ + -DCMAKE_CXX_FLAGS_RELEASE="$CXX_FLAGS_RELEASE" \ -DCMAKE_DISABLE_PRECOMPILE_HEADERS=$DISABLE_PRECOMPILE_HEADERS \ -DBoost_USE_STATIC_LIBS=OFF \ -DBUILD_SHARED_LIBS=ON \