diff --git a/net-im/telegram-desktop/patches/libtgvoip-5.5.5.patchset b/net-im/telegram-desktop/patches/libtgvoip-5.7.2.patchset similarity index 99% rename from net-im/telegram-desktop/patches/libtgvoip-5.5.5.patchset rename to net-im/telegram-desktop/patches/libtgvoip-5.7.2.patchset index a9e8a0735..74c84d0da 100644 --- a/net-im/telegram-desktop/patches/libtgvoip-5.5.5.patchset +++ b/net-im/telegram-desktop/patches/libtgvoip-5.7.2.patchset @@ -1,6 +1,6 @@ -From 4f0b34d79fc40853e4da280383d1595e132e485e Mon Sep 17 00:00:00 2001 +From 773f37ad2603040774cd6016cd79710bd422bbbf Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> -Date: Thu, 1 Aug 2024 22:40:58 +1000 +Date: Fri, 15 Nov 2024 22:56:58 +1000 Subject: Add haiku support diff --git a/net-im/telegram-desktop/patches/pch_disable-5.5.5.patchset b/net-im/telegram-desktop/patches/pch_disable-5.7.2.patchset similarity index 97% rename from net-im/telegram-desktop/patches/pch_disable-5.5.5.patchset rename to net-im/telegram-desktop/patches/pch_disable-5.7.2.patchset index c3927dd1b..41aa6aeda 100644 --- a/net-im/telegram-desktop/patches/pch_disable-5.5.5.patchset +++ b/net-im/telegram-desktop/patches/pch_disable-5.7.2.patchset @@ -1,15 +1,15 @@ -From bcab1f151ab3bbe7911c897ccd50acca4bb40811 Mon Sep 17 00:00:00 2001 +From b4a1af76c0d5b7a7c1fe1d8b93667a42b94314ad Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> -Date: Sun, 15 Sep 2024 11:44:17 +0000 +Date: Sat, 16 Nov 2024 11:07:47 +0000 Subject: Add PCH file diff --git a/pch_disable.patchset b/pch_disable.patchset new file mode 100644 -index 0000000..ce311bb +index 0000000..2451ab1 --- /dev/null +++ b/pch_disable.patchset -@@ -0,0 +1,11074 @@ +@@ -0,0 +1,11154 @@ +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 @@ -38,7 +38,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/api/api_bot.cpp b/Telegram/SourceFiles/api/api_bot.cpp -+index dc5cfab..aed1315 100644 ++index 5342cbd..21b250c 100644 +--- a/Telegram/SourceFiles/api/api_bot.cpp ++++ b/Telegram/SourceFiles/api/api_bot.cpp +@@ -1,3 +1,4 @@ @@ -56,7 +56,7 @@ index 0000000..ce311bb + 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 dde941b..29eb4c0 100644 ++index 0a53c61..397abf9 100644 +--- a/Telegram/SourceFiles/api/api_chat_invite.cpp ++++ b/Telegram/SourceFiles/api/api_chat_invite.cpp +@@ -1,3 +1,4 @@ @@ -110,7 +110,7 @@ index 0000000..ce311bb + 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 f26a938..4f7e6a9 100644 ++index ddff600..f3c4694 100644 +--- a/Telegram/SourceFiles/api/api_credits.cpp ++++ b/Telegram/SourceFiles/api/api_credits.cpp +@@ -1,3 +1,4 @@ @@ -119,7 +119,7 @@ index 0000000..ce311bb + 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 f05e5f6..716133f 100644 ++index 1461551..99f8785 100644 +--- a/Telegram/SourceFiles/api/api_earn.cpp ++++ b/Telegram/SourceFiles/api/api_earn.cpp +@@ -1,3 +1,4 @@ @@ -164,7 +164,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/api/api_media.cpp b/Telegram/SourceFiles/api/api_media.cpp -+index 46a5b7f..b0fdd0b 100644 ++index 22fc376..47d6083 100644 +--- a/Telegram/SourceFiles/api/api_media.cpp ++++ b/Telegram/SourceFiles/api/api_media.cpp +@@ -1,3 +1,4 @@ @@ -218,7 +218,7 @@ index 0000000..ce311bb + 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 0cd7a30..7ee480d 100644 ++index 4328f04..721e341 100644 +--- a/Telegram/SourceFiles/api/api_premium.cpp ++++ b/Telegram/SourceFiles/api/api_premium.cpp +@@ -1,3 +1,4 @@ @@ -236,7 +236,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/api/api_report.cpp b/Telegram/SourceFiles/api/api_report.cpp -+index 8691527..96db8a5 100644 ++index f3b0658..d2c9192 100644 +--- a/Telegram/SourceFiles/api/api_report.cpp ++++ b/Telegram/SourceFiles/api/api_report.cpp +@@ -1,3 +1,4 @@ @@ -272,7 +272,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/api/api_sending.cpp b/Telegram/SourceFiles/api/api_sending.cpp -+index fd324ad..d29d809 100644 ++index d0b897a..97ec4c2 100644 +--- a/Telegram/SourceFiles/api/api_sending.cpp ++++ b/Telegram/SourceFiles/api/api_sending.cpp +@@ -1,3 +1,4 @@ @@ -299,7 +299,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/api/api_statistics.cpp b/Telegram/SourceFiles/api/api_statistics.cpp -+index c960aca..bfd1386 100644 ++index daed8f1..b7139be 100644 +--- a/Telegram/SourceFiles/api/api_statistics.cpp ++++ b/Telegram/SourceFiles/api/api_statistics.cpp +@@ -1,3 +1,4 @@ @@ -362,7 +362,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/api/api_updates.cpp b/Telegram/SourceFiles/api/api_updates.cpp -+index 3bbab8c..47dde0b 100644 ++index 9e4250c..97e9142 100644 +--- a/Telegram/SourceFiles/api/api_updates.cpp ++++ b/Telegram/SourceFiles/api/api_updates.cpp +@@ -1,3 +1,4 @@ @@ -407,7 +407,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/api/api_who_reacted.cpp b/Telegram/SourceFiles/api/api_who_reacted.cpp -+index 6c9df39..8645abe 100644 ++index b0e44cf..07b54b3 100644 +--- a/Telegram/SourceFiles/api/api_who_reacted.cpp ++++ b/Telegram/SourceFiles/api/api_who_reacted.cpp +@@ -1,3 +1,4 @@ @@ -416,7 +416,7 @@ index 0000000..ce311bb + 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 5ef4af3..ec302ad 100644 ++index b8d5173..57338c0 100644 +--- a/Telegram/SourceFiles/apiwrap.cpp ++++ b/Telegram/SourceFiles/apiwrap.cpp +@@ -1,3 +1,4 @@ @@ -565,7 +565,7 @@ index 0000000..ce311bb + 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 bd089a9..d30d285 100644 ++index f6e48b2..ebdf5c6 100644 +--- a/Telegram/SourceFiles/boxes/edit_caption_box.cpp ++++ b/Telegram/SourceFiles/boxes/edit_caption_box.cpp +@@ -1,3 +1,5 @@ @@ -575,7 +575,7 @@ index 0000000..ce311bb + 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 6352c5b..4650df5 100644 ++index c9a9055..0c5f7aa 100644 +--- a/Telegram/SourceFiles/boxes/edit_privacy_box.cpp ++++ b/Telegram/SourceFiles/boxes/edit_privacy_box.cpp +@@ -1,3 +1,5 @@ @@ -595,7 +595,7 @@ index 0000000..ce311bb + 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 dd69458..1825a9a 100644 ++index ff0226a..b233850 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 @@ @@ -606,7 +606,7 @@ index 0000000..ce311bb + 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_preview.cpp b/Telegram/SourceFiles/boxes/filters/edit_filter_chats_preview.cpp -+index 3e2efb8..b00793b 100644 ++index 1938665..a2f1a5e 100644 +--- a/Telegram/SourceFiles/boxes/filters/edit_filter_chats_preview.cpp ++++ b/Telegram/SourceFiles/boxes/filters/edit_filter_chats_preview.cpp +@@ -1,3 +1,5 @@ @@ -616,7 +616,7 @@ index 0000000..ce311bb + 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_links.cpp b/Telegram/SourceFiles/boxes/filters/edit_filter_links.cpp -+index aaeda8a..6b60009 100644 ++index 591bdf5..fe12474 100644 +--- a/Telegram/SourceFiles/boxes/filters/edit_filter_links.cpp ++++ b/Telegram/SourceFiles/boxes/filters/edit_filter_links.cpp +@@ -1,3 +1,6 @@ @@ -637,7 +637,7 @@ index 0000000..ce311bb + 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 37357dc..88ff9d3 100644 ++index d0cc2c7..fb13afe 100644 +--- a/Telegram/SourceFiles/boxes/gift_premium_box.cpp ++++ b/Telegram/SourceFiles/boxes/gift_premium_box.cpp +@@ -1,3 +1,5 @@ @@ -697,7 +697,7 @@ index 0000000..ce311bb + 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 fc4a2d7..9934dde 100644 ++index b47d4b2..7aeca1b 100644 +--- a/Telegram/SourceFiles/boxes/peer_list_box.cpp ++++ b/Telegram/SourceFiles/boxes/peer_list_box.cpp +@@ -1,3 +1,5 @@ @@ -707,7 +707,7 @@ index 0000000..ce311bb + 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 7063372..947d3ae 100644 ++index 53d5608..7f30e0b 100644 +--- a/Telegram/SourceFiles/boxes/peer_list_controllers.cpp ++++ b/Telegram/SourceFiles/boxes/peer_list_controllers.cpp +@@ -1,3 +1,5 @@ @@ -738,7 +738,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/peers/add_participants_box.cpp b/Telegram/SourceFiles/boxes/peers/add_participants_box.cpp -+index bf30fe5..cfd556a 100644 ++index ab48b6b..ec54125 100644 +--- a/Telegram/SourceFiles/boxes/peers/add_participants_box.cpp ++++ b/Telegram/SourceFiles/boxes/peers/add_participants_box.cpp +@@ -1,3 +1,5 @@ @@ -846,7 +846,7 @@ index 0000000..ce311bb + 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 9939483..9653f30 100644 ++index 76fd985..24e4cc1 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 +857,7 @@ index 0000000..ce311bb + 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 8e1a110..fd1f521 100644 ++index 4dc7f89..778f2c4 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 @@ @@ -879,7 +879,7 @@ index 0000000..ce311bb + 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_permissions_box.cpp b/Telegram/SourceFiles/boxes/peers/edit_peer_permissions_box.cpp -+index 4d6dbc3..f1a82f8 100644 ++index 2258f6c..3cd9df8 100644 +--- a/Telegram/SourceFiles/boxes/peers/edit_peer_permissions_box.cpp ++++ b/Telegram/SourceFiles/boxes/peers/edit_peer_permissions_box.cpp +@@ -1,3 +1,6 @@ @@ -934,7 +934,7 @@ index 0000000..ce311bb + 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 830dc13..002dadd 100644 ++index dc7524e..8902c0a 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 +945,7 @@ index 0000000..ce311bb + 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 363a2e9..cb32a46 100644 ++index c3ff09a..6111317 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 @@ @@ -1017,7 +1017,7 @@ index 0000000..ce311bb + 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 5c8d591..ea4cd7a 100644 ++index e098259..8c77c97 100644 +--- a/Telegram/SourceFiles/boxes/report_messages_box.cpp ++++ b/Telegram/SourceFiles/boxes/report_messages_box.cpp +@@ -1,3 +1,5 @@ @@ -1047,7 +1047,7 @@ index 0000000..ce311bb + 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 efa5d46..6ef48c8 100644 ++index 3ac13da..6e825fd 100644 +--- a/Telegram/SourceFiles/boxes/send_credits_box.cpp ++++ b/Telegram/SourceFiles/boxes/send_credits_box.cpp +@@ -1,3 +1,5 @@ @@ -1057,7 +1057,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/send_files_box.cpp b/Telegram/SourceFiles/boxes/send_files_box.cpp -+index d1757da..7a40bbb 100644 ++index 17cfeef..0fc7b9b 100644 +--- a/Telegram/SourceFiles/boxes/send_files_box.cpp ++++ b/Telegram/SourceFiles/boxes/send_files_box.cpp +@@ -1,3 +1,5 @@ @@ -1067,7 +1067,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/send_gif_with_caption_box.cpp b/Telegram/SourceFiles/boxes/send_gif_with_caption_box.cpp -+index 3ee0ac3..450165b 100644 ++index b271028..d8539dd 100644 +--- a/Telegram/SourceFiles/boxes/send_gif_with_caption_box.cpp ++++ b/Telegram/SourceFiles/boxes/send_gif_with_caption_box.cpp +@@ -1,3 +1,5 @@ @@ -1087,7 +1087,7 @@ index 0000000..ce311bb + 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 9498c44..764c0bc 100644 ++index bd154f8..d4e248c 100644 +--- a/Telegram/SourceFiles/boxes/share_box.cpp ++++ b/Telegram/SourceFiles/boxes/share_box.cpp +@@ -1,3 +1,5 @@ @@ -1096,8 +1096,18 @@ index 0000000..ce311bb + /* + 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 ++--- a/Telegram/SourceFiles/boxes/star_gift_box.cpp +++++ b/Telegram/SourceFiles/boxes/star_gift_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/sticker_set_box.cpp b/Telegram/SourceFiles/boxes/sticker_set_box.cpp -+index d9d3b9a..ebdbb5a 100644 ++index 14902a9..6fda96d 100644 +--- a/Telegram/SourceFiles/boxes/sticker_set_box.cpp ++++ b/Telegram/SourceFiles/boxes/sticker_set_box.cpp +@@ -1,3 +1,5 @@ @@ -1201,7 +1211,7 @@ index 0000000..ce311bb + 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 c3f94e0..36b7298 100644 ++index 6f0ab0f..9f58eed 100644 +--- a/Telegram/SourceFiles/calls/calls_panel.cpp ++++ b/Telegram/SourceFiles/calls/calls_panel.cpp +@@ -1,3 +1,4 @@ @@ -1426,7 +1436,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/calls/group/ui/desktop_capture_choose_source.cpp b/Telegram/SourceFiles/calls/group/ui/desktop_capture_choose_source.cpp -+index cf13752..47572e6 100644 ++index a122f09..3cca125 100644 +--- a/Telegram/SourceFiles/calls/group/ui/desktop_capture_choose_source.cpp ++++ b/Telegram/SourceFiles/calls/group/ui/desktop_capture_choose_source.cpp +@@ -1,3 +1,4 @@ @@ -1498,7 +1508,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/chat_helpers/emoji_sets_manager.cpp b/Telegram/SourceFiles/chat_helpers/emoji_sets_manager.cpp -+index f620f70..f8ec6cd 100644 ++index 2f88f82..bead615 100644 +--- a/Telegram/SourceFiles/chat_helpers/emoji_sets_manager.cpp ++++ b/Telegram/SourceFiles/chat_helpers/emoji_sets_manager.cpp +@@ -1,3 +1,4 @@ @@ -1507,7 +1517,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/chat_helpers/emoji_suggestions_widget.cpp b/Telegram/SourceFiles/chat_helpers/emoji_suggestions_widget.cpp -+index 2238700..060c681 100644 ++index 87fd388..c17022c 100644 +--- a/Telegram/SourceFiles/chat_helpers/emoji_suggestions_widget.cpp ++++ b/Telegram/SourceFiles/chat_helpers/emoji_suggestions_widget.cpp +@@ -1,3 +1,4 @@ @@ -1516,7 +1526,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/chat_helpers/field_autocomplete.cpp b/Telegram/SourceFiles/chat_helpers/field_autocomplete.cpp -+index bece81b..6ebc4fe 100644 ++index 64db33d..5af5c6a 100644 +--- a/Telegram/SourceFiles/chat_helpers/field_autocomplete.cpp ++++ b/Telegram/SourceFiles/chat_helpers/field_autocomplete.cpp +@@ -1,3 +1,4 @@ @@ -1534,7 +1544,7 @@ index 0000000..ce311bb + 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 4ed82d5..0d9a107 100644 ++index 72865ea..533aa9f 100644 +--- a/Telegram/SourceFiles/chat_helpers/gifs_list_widget.cpp ++++ b/Telegram/SourceFiles/chat_helpers/gifs_list_widget.cpp +@@ -1,3 +1,4 @@ @@ -1543,7 +1553,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/chat_helpers/message_field.cpp b/Telegram/SourceFiles/chat_helpers/message_field.cpp -+index e38c134..06b6e3b 100644 ++index 9cc3a92..931899a 100644 +--- a/Telegram/SourceFiles/chat_helpers/message_field.cpp ++++ b/Telegram/SourceFiles/chat_helpers/message_field.cpp +@@ -1,3 +1,4 @@ @@ -1597,7 +1607,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/chat_helpers/stickers_gift_box_pack.cpp b/Telegram/SourceFiles/chat_helpers/stickers_gift_box_pack.cpp -+index f510540..13c3dab 100644 ++index a4c98c4..2f168d5 100644 +--- a/Telegram/SourceFiles/chat_helpers/stickers_gift_box_pack.cpp ++++ b/Telegram/SourceFiles/chat_helpers/stickers_gift_box_pack.cpp +@@ -1,3 +1,4 @@ @@ -1615,7 +1625,7 @@ index 0000000..ce311bb + 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_widget.cpp b/Telegram/SourceFiles/chat_helpers/stickers_list_widget.cpp -+index c3af5e2..e904905 100644 ++index 8eb1658..2de346e 100644 +--- a/Telegram/SourceFiles/chat_helpers/stickers_list_widget.cpp ++++ b/Telegram/SourceFiles/chat_helpers/stickers_list_widget.cpp +@@ -1,3 +1,4 @@ @@ -1669,7 +1679,7 @@ index 0000000..ce311bb + 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 5810e8e..cafe583 100644 ++index c127473..e7bcc83 100644 +--- a/Telegram/SourceFiles/core/application.cpp ++++ b/Telegram/SourceFiles/core/application.cpp +@@ -1,3 +1,5 @@ @@ -1699,7 +1709,7 @@ index 0000000..ce311bb + 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 10152d6..7967fac 100644 ++index 231d019..fb9b99c 100644 +--- a/Telegram/SourceFiles/core/click_handler_types.cpp ++++ b/Telegram/SourceFiles/core/click_handler_types.cpp +@@ -1,3 +1,5 @@ @@ -1719,7 +1729,7 @@ index 0000000..ce311bb + 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 f876ac3..d708ecb 100644 ++index 2ef80a8..31ec491 100644 +--- a/Telegram/SourceFiles/core/core_settings.cpp ++++ b/Telegram/SourceFiles/core/core_settings.cpp +@@ -1,3 +1,5 @@ @@ -1798,7 +1808,7 @@ index 0000000..ce311bb + 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 566df8c..d14e954 100644 ++index a881547..89239f5 100644 +--- a/Telegram/SourceFiles/core/local_url_handlers.cpp ++++ b/Telegram/SourceFiles/core/local_url_handlers.cpp +@@ -1,3 +1,5 @@ @@ -1817,7 +1827,7 @@ index 0000000..ce311bb + 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 19d15b7..f4f605c 100644 ++index 9723ffe..ce71774 100644 +--- a/Telegram/SourceFiles/core/phone_click_handler.cpp ++++ b/Telegram/SourceFiles/core/phone_click_handler.cpp +@@ -1,3 +1,5 @@ @@ -1847,7 +1857,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/core/ui_integration.cpp b/Telegram/SourceFiles/core/ui_integration.cpp -+index 60c9b00..48b99e9 100644 ++index 2d15e42..ea3c84d 100644 +--- a/Telegram/SourceFiles/core/ui_integration.cpp ++++ b/Telegram/SourceFiles/core/ui_integration.cpp +@@ -1,3 +1,5 @@ @@ -1936,7 +1946,7 @@ index 0000000..ce311bb + 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 34520f9..fa7e045 100644 ++index e213fcf..57ea9cd 100644 +--- a/Telegram/SourceFiles/data/components/credits.cpp ++++ b/Telegram/SourceFiles/data/components/credits.cpp +@@ -1,3 +1,5 @@ @@ -1973,7 +1983,7 @@ index 0000000..ce311bb +\ 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 1c19578..ae3860a 100644 ++index 0917be2..a6b7923 100644 +--- a/Telegram/SourceFiles/data/components/recent_peers.cpp ++++ b/Telegram/SourceFiles/data/components/recent_peers.cpp +@@ -1,3 +1,5 @@ @@ -1983,7 +1993,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/components/scheduled_messages.cpp b/Telegram/SourceFiles/data/components/scheduled_messages.cpp -+index 9e69dd3..14f11e8 100644 ++index 460a4df..93714ee 100644 +--- a/Telegram/SourceFiles/data/components/scheduled_messages.cpp ++++ b/Telegram/SourceFiles/data/components/scheduled_messages.cpp +@@ -1,3 +1,5 @@ @@ -1993,7 +2003,7 @@ index 0000000..ce311bb + 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 3aeb205..3dfa21c 100644 ++index d2746ad..28cdcb1 100644 +--- a/Telegram/SourceFiles/data/components/sponsored_messages.cpp ++++ b/Telegram/SourceFiles/data/components/sponsored_messages.cpp +@@ -1,3 +1,5 @@ @@ -2003,7 +2013,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/components/top_peers.cpp b/Telegram/SourceFiles/data/components/top_peers.cpp -+index 57974fe..a7b48d9 100644 ++index e068be1..d1e5a21 100644 +--- a/Telegram/SourceFiles/data/components/top_peers.cpp ++++ b/Telegram/SourceFiles/data/components/top_peers.cpp +@@ -1,3 +1,5 @@ @@ -2130,7 +2140,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_chat_participant_status.cpp b/Telegram/SourceFiles/data/data_chat_participant_status.cpp -+index 6644254..2dc3f63 100644 ++index 38fa1a2..c17fb71 100644 +--- a/Telegram/SourceFiles/data/data_chat_participant_status.cpp ++++ b/Telegram/SourceFiles/data/data_chat_participant_status.cpp +@@ -1,3 +1,5 @@ @@ -2160,7 +2170,7 @@ index 0000000..ce311bb + 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 9c25a78..8cc6325 100644 ++index af5f950..1b46e87 100644 +--- a/Telegram/SourceFiles/data/data_document.cpp ++++ b/Telegram/SourceFiles/data/data_document.cpp +@@ -1,3 +1,5 @@ @@ -2170,7 +2180,7 @@ index 0000000..ce311bb + 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 47237b3..28271da 100644 ++index df1f9ea..9398637 100644 +--- a/Telegram/SourceFiles/data/data_document.h ++++ b/Telegram/SourceFiles/data/data_document.h +@@ -1,3 +1,4 @@ @@ -2189,7 +2199,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_document_resolver.cpp b/Telegram/SourceFiles/data/data_document_resolver.cpp -+index 575d695..b023910 100644 ++index 4c901da..2e1e00d 100644 +--- a/Telegram/SourceFiles/data/data_document_resolver.cpp ++++ b/Telegram/SourceFiles/data/data_document_resolver.cpp +@@ -1,3 +1,5 @@ @@ -2239,7 +2249,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_file_origin.cpp b/Telegram/SourceFiles/data/data_file_origin.cpp -+index 76838ed..5119d23 100644 ++index 48f2be8..0a0524d 100644 +--- a/Telegram/SourceFiles/data/data_file_origin.cpp ++++ b/Telegram/SourceFiles/data/data_file_origin.cpp +@@ -1,3 +1,5 @@ @@ -2355,6 +2365,16 @@ index 0000000..ce311bb + /* + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. ++diff --git a/Telegram/SourceFiles/data/data_media_preload.cpp b/Telegram/SourceFiles/data/data_media_preload.cpp ++index 8fb9380..b93a75d 100644 ++--- a/Telegram/SourceFiles/data/data_media_preload.cpp +++++ b/Telegram/SourceFiles/data/data_media_preload.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_media_rotation.cpp b/Telegram/SourceFiles/data/data_media_rotation.cpp +index eaa0a12..3ca4760 100644 +--- a/Telegram/SourceFiles/data/data_media_rotation.cpp @@ -2366,7 +2386,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_media_types.cpp b/Telegram/SourceFiles/data/data_media_types.cpp -+index 79266a5..289aacd 100644 ++index bdcf6f9..4e95f3a 100644 +--- a/Telegram/SourceFiles/data/data_media_types.cpp ++++ b/Telegram/SourceFiles/data/data_media_types.cpp +@@ -1,3 +1,5 @@ @@ -2376,7 +2396,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_message_reaction_id.cpp b/Telegram/SourceFiles/data/data_message_reaction_id.cpp -+index 1deac2b..7c82cbe 100644 ++index b4a34a7..b0a35f7 100644 +--- a/Telegram/SourceFiles/data/data_message_reaction_id.cpp ++++ b/Telegram/SourceFiles/data/data_message_reaction_id.cpp +@@ -1,3 +1,5 @@ @@ -2406,7 +2426,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_peer.cpp b/Telegram/SourceFiles/data/data_peer.cpp -+index bf3a7c8..342e651 100644 ++index 3b3fdbe..58138c4 100644 +--- a/Telegram/SourceFiles/data/data_peer.cpp ++++ b/Telegram/SourceFiles/data/data_peer.cpp +@@ -1,3 +1,5 @@ @@ -2446,7 +2466,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_peer_values.cpp b/Telegram/SourceFiles/data/data_peer_values.cpp -+index c5e26bb..c88b14e 100644 ++index 73d041c..a8714df 100644 +--- a/Telegram/SourceFiles/data/data_peer_values.cpp ++++ b/Telegram/SourceFiles/data/data_peer_values.cpp +@@ -1,3 +1,5 @@ @@ -2566,7 +2586,7 @@ index 0000000..ce311bb + 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 ed31b16..382a0ba 100644 ++index d878213..71f3f22 100644 +--- a/Telegram/SourceFiles/data/data_session.cpp ++++ b/Telegram/SourceFiles/data/data_session.cpp +@@ -1,3 +1,5 @@ @@ -2605,7 +2625,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_stories.cpp b/Telegram/SourceFiles/data/data_stories.cpp -+index 668ec4c..3ab58c4 100644 ++index bb08bca..d06a9c5 100644 +--- a/Telegram/SourceFiles/data/data_stories.cpp ++++ b/Telegram/SourceFiles/data/data_stories.cpp +@@ -1,3 +1,5 @@ @@ -2625,7 +2645,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_story.cpp b/Telegram/SourceFiles/data/data_story.cpp -+index d9c37de..a9f44c7 100644 ++index 9adcad0..c68af3a 100644 +--- a/Telegram/SourceFiles/data/data_story.cpp ++++ b/Telegram/SourceFiles/data/data_story.cpp +@@ -1,3 +1,5 @@ @@ -2635,7 +2655,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_streaming.cpp b/Telegram/SourceFiles/data/data_streaming.cpp -+index dd3b13b..bbc903b 100644 ++index 658c838..7b1a87c 100644 +--- a/Telegram/SourceFiles/data/data_streaming.cpp ++++ b/Telegram/SourceFiles/data/data_streaming.cpp +@@ -1,3 +1,5 @@ @@ -2665,7 +2685,7 @@ index 0000000..ce311bb + 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 729f27d..fafb05a 100644 ++index 2456567..20dd77f 100644 +--- a/Telegram/SourceFiles/data/data_user.cpp ++++ b/Telegram/SourceFiles/data/data_user.cpp +@@ -1,3 +1,5 @@ @@ -2695,7 +2715,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_wall_paper.cpp b/Telegram/SourceFiles/data/data_wall_paper.cpp -+index 1bfd653..7b0175c 100644 ++index 0234bdb..900f91a 100644 +--- a/Telegram/SourceFiles/data/data_wall_paper.cpp ++++ b/Telegram/SourceFiles/data/data_wall_paper.cpp +@@ -1,3 +1,5 @@ @@ -2794,7 +2814,7 @@ index 0000000..ce311bb + 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 6e60f07..7fb2f65 100644 ++index 7d63bb5..bcb0757 100644 +--- a/Telegram/SourceFiles/dialogs/dialogs_inner_widget.cpp ++++ b/Telegram/SourceFiles/dialogs/dialogs_inner_widget.cpp +@@ -1,3 +1,5 @@ @@ -2874,7 +2894,7 @@ index 0000000..ce311bb + 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 44f558c..c3e8d3b 100644 ++index 73f8f59..8f15355 100644 +--- a/Telegram/SourceFiles/dialogs/dialogs_widget.cpp ++++ b/Telegram/SourceFiles/dialogs/dialogs_widget.cpp +@@ -1,3 +1,5 @@ @@ -2902,7 +2922,7 @@ index 0000000..ce311bb + 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 2347dd2..a65e279 100644 ++index 74ef869..74091d3 100644 +--- a/Telegram/SourceFiles/dialogs/ui/dialogs_layout.cpp ++++ b/Telegram/SourceFiles/dialogs/ui/dialogs_layout.cpp +@@ -1,3 +1,5 @@ @@ -2941,7 +2961,7 @@ index 0000000..ce311bb + 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 c005c7e..6ead017 100644 ++index 43b5c58..8b818af 100644 +--- a/Telegram/SourceFiles/dialogs/ui/dialogs_suggestions.cpp ++++ b/Telegram/SourceFiles/dialogs/ui/dialogs_suggestions.cpp +@@ -1,3 +1,5 @@ @@ -3056,11 +3076,12 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/editor/photo_editor_content.cpp b/Telegram/SourceFiles/editor/photo_editor_content.cpp -+index 1a379b9..2f85784 100644 ++index 1a379b9..f1d702d 100644 +--- a/Telegram/SourceFiles/editor/photo_editor_content.cpp ++++ b/Telegram/SourceFiles/editor/photo_editor_content.cpp -+@@ -1,3 +1,4 @@ ++@@ -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. @@ -3139,7 +3160,7 @@ index 0000000..ce311bb + 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 ef7f25e..cd0392d 100644 ++index 0301f1c..5ab94bd 100644 +--- a/Telegram/SourceFiles/export/data/export_data_types.cpp ++++ b/Telegram/SourceFiles/export/data/export_data_types.cpp +@@ -1,3 +1,4 @@ @@ -3148,7 +3169,7 @@ index 0000000..ce311bb + 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 6986101..5d27d2c 100644 ++index b511b9f..c5fe408 100644 +--- a/Telegram/SourceFiles/export/export_api_wrap.cpp ++++ b/Telegram/SourceFiles/export/export_api_wrap.cpp +@@ -1,3 +1,4 @@ @@ -3157,7 +3178,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/export/export_controller.cpp b/Telegram/SourceFiles/export/export_controller.cpp -+index b3d543f..7156085 100644 ++index a6e12d2..c2ea550 100644 +--- a/Telegram/SourceFiles/export/export_controller.cpp ++++ b/Telegram/SourceFiles/export/export_controller.cpp +@@ -1,3 +1,4 @@ @@ -3203,7 +3224,7 @@ index 0000000..ce311bb + 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 00a755b..f72ca52 100644 ++index 4bdb71e..a379215 100644 +--- a/Telegram/SourceFiles/export/output/export_output_html.cpp ++++ b/Telegram/SourceFiles/export/output/export_output_html.cpp +@@ -1,3 +1,4 @@ @@ -3221,7 +3242,7 @@ index 0000000..ce311bb + 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 c7378f3..1f3d181 100644 ++index 14fe04b..8ac9062 100644 +--- a/Telegram/SourceFiles/export/output/export_output_json.cpp ++++ b/Telegram/SourceFiles/export/output/export_output_json.cpp +@@ -1,3 +1,4 @@ @@ -3298,7 +3319,7 @@ index 0000000..ce311bb + 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 1194feb..6353aa1 100644 ++index b37da32..1a90bbb 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 @@ @@ -3328,7 +3349,7 @@ index 0000000..ce311bb + 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 3564363..4d9b66a 100644 ++index f78b3f9..fe5094c 100644 +--- a/Telegram/SourceFiles/history/history.cpp ++++ b/Telegram/SourceFiles/history/history.cpp +@@ -1,3 +1,5 @@ @@ -3348,7 +3369,7 @@ index 0000000..ce311bb + 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 5544f19..57db5c8 100644 ++index 9ccd9fe..178a32a 100644 +--- a/Telegram/SourceFiles/history/history_inner_widget.cpp ++++ b/Telegram/SourceFiles/history/history_inner_widget.cpp +@@ -1,3 +1,5 @@ @@ -3358,7 +3379,7 @@ index 0000000..ce311bb + 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 ea92626..b939214 100644 ++index 9b422e1..825f606 100644 +--- a/Telegram/SourceFiles/history/history_item.cpp ++++ b/Telegram/SourceFiles/history/history_item.cpp +@@ -1,3 +1,5 @@ @@ -3368,7 +3389,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/history_item_components.cpp b/Telegram/SourceFiles/history/history_item_components.cpp -+index 55e9e09..6be754e 100644 ++index 7ea8597..be7ea1a 100644 +--- a/Telegram/SourceFiles/history/history_item_components.cpp ++++ b/Telegram/SourceFiles/history/history_item_components.cpp +@@ -1,3 +1,5 @@ @@ -3388,7 +3409,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/history_item_helpers.cpp b/Telegram/SourceFiles/history/history_item_helpers.cpp -+index dabd0ee..077324e 100644 ++index 06ca662..296a50f 100644 +--- a/Telegram/SourceFiles/history/history_item_helpers.cpp ++++ b/Telegram/SourceFiles/history/history_item_helpers.cpp +@@ -1,3 +1,5 @@ @@ -3398,7 +3419,7 @@ index 0000000..ce311bb + 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 a240586..28877b4 100644 ++index 5cd532a..d241350 100644 +--- a/Telegram/SourceFiles/history/history_item_reply_markup.cpp ++++ b/Telegram/SourceFiles/history/history_item_reply_markup.cpp +@@ -1,3 +1,5 @@ @@ -3458,7 +3479,7 @@ index 0000000..ce311bb + 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 cca7a4d..36f5f15 100644 ++index 214310f..fcc206d 100644 +--- a/Telegram/SourceFiles/history/history_view_swipe.cpp ++++ b/Telegram/SourceFiles/history/history_view_swipe.cpp +@@ -1,3 +1,4 @@ @@ -3476,7 +3497,7 @@ index 0000000..ce311bb + 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 d857f25..5284f31 100644 ++index 3d067da..86fb490 100644 +--- a/Telegram/SourceFiles/history/history_widget.cpp ++++ b/Telegram/SourceFiles/history/history_widget.cpp +@@ -1,3 +1,5 @@ @@ -3495,7 +3516,7 @@ index 0000000..ce311bb + 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 11ab5d4..fe22931 100644 ++index 9eed3ae..062fd34 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 @@ @@ -3505,7 +3526,7 @@ index 0000000..ce311bb + 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_media_edit_manager.cpp b/Telegram/SourceFiles/history/view/controls/history_view_compose_media_edit_manager.cpp -+index 35fbc21..dd58782 100644 ++index 45ababe..53e5d28 100644 +--- a/Telegram/SourceFiles/history/view/controls/history_view_compose_media_edit_manager.cpp ++++ b/Telegram/SourceFiles/history/view/controls/history_view_compose_media_edit_manager.cpp +@@ -1,3 +1,4 @@ @@ -3524,7 +3545,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/controls/history_view_draft_options.cpp b/Telegram/SourceFiles/history/view/controls/history_view_draft_options.cpp -+index 5927e14..bfb541e 100644 ++index 8b0429c..69d9e6d 100644 +--- a/Telegram/SourceFiles/history/view/controls/history_view_draft_options.cpp ++++ b/Telegram/SourceFiles/history/view/controls/history_view_draft_options.cpp +@@ -1,3 +1,5 @@ @@ -3554,7 +3575,7 @@ index 0000000..ce311bb + 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 837cc09..ac22638 100644 ++index c6fd7bf..4acce34 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 @@ @@ -3564,7 +3585,7 @@ index 0000000..ce311bb + 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_button.cpp b/Telegram/SourceFiles/history/view/controls/history_view_voice_record_button.cpp -+index 986ea9d..12dec27 100644 ++index b32fa2d..57b7e55 100644 +--- a/Telegram/SourceFiles/history/view/controls/history_view_voice_record_button.cpp ++++ b/Telegram/SourceFiles/history/view/controls/history_view_voice_record_button.cpp +@@ -1,3 +1,4 @@ @@ -3593,7 +3614,7 @@ index 0000000..ce311bb + 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_bottom_info.cpp b/Telegram/SourceFiles/history/view/history_view_bottom_info.cpp -+index 6784c7e..0e98da4 100644 ++index 361e1ee..dbbbb83 100644 +--- a/Telegram/SourceFiles/history/view/history_view_bottom_info.cpp ++++ b/Telegram/SourceFiles/history/view/history_view_bottom_info.cpp +@@ -1,3 +1,5 @@ @@ -3603,7 +3624,7 @@ index 0000000..ce311bb + 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 3ab2ada..205bfc6 100644 ++index 4747ce6..d249ce3 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 @@ @@ -3613,7 +3634,7 @@ index 0000000..ce311bb + 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 524719f..0f3928a 100644 ++index a764199..aa5f246 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 @@ @@ -3623,7 +3644,7 @@ index 0000000..ce311bb + 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 3cddfc9..7f758c4 100644 ++index ba765b3..a695314 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 @@ @@ -3653,7 +3674,7 @@ index 0000000..ce311bb + 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 883b51a..0e44588 100644 ++index 95d5e7a..f694805 100644 +--- a/Telegram/SourceFiles/history/view/history_view_element.cpp ++++ b/Telegram/SourceFiles/history/view/history_view_element.cpp +@@ -1,3 +1,5 @@ @@ -3693,7 +3714,7 @@ index 0000000..ce311bb + 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_group_call_bar.cpp b/Telegram/SourceFiles/history/view/history_view_group_call_bar.cpp -+index 1406b7e..ec3c934 100644 ++index c460ab1..de72672 100644 +--- a/Telegram/SourceFiles/history/view/history_view_group_call_bar.cpp ++++ b/Telegram/SourceFiles/history/view/history_view_group_call_bar.cpp +@@ -1,3 +1,5 @@ @@ -3703,7 +3724,7 @@ index 0000000..ce311bb + 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 6f6484d..05c21b1 100644 ++index ca1e163..71d3ece 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 @@ @@ -3713,7 +3734,7 @@ index 0000000..ce311bb + 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 35f7647..fccebd2 100644 ++index 3a84ee9..8d40f44 100644 +--- a/Telegram/SourceFiles/history/view/history_view_message.cpp ++++ b/Telegram/SourceFiles/history/view/history_view_message.cpp +@@ -1,3 +1,5 @@ @@ -3773,7 +3794,7 @@ index 0000000..ce311bb + 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 845b70f..2108192 100644 ++index 107e4bf..924db47 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 @@ @@ -3813,7 +3834,7 @@ index 0000000..ce311bb + 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_scheduled_section.cpp b/Telegram/SourceFiles/history/view/history_view_scheduled_section.cpp -+index 054c8f6..de5b022 100644 ++index ec9843a..4c8ad57 100644 +--- a/Telegram/SourceFiles/history/view/history_view_scheduled_section.cpp ++++ b/Telegram/SourceFiles/history/view/history_view_scheduled_section.cpp +@@ -1,3 +1,5 @@ @@ -3863,7 +3884,7 @@ index 0000000..ce311bb + 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_sublist_section.cpp b/Telegram/SourceFiles/history/view/history_view_sublist_section.cpp -+index f934a55..9f11e22 100644 ++index 61215ad..d1699c8 100644 +--- a/Telegram/SourceFiles/history/view/history_view_sublist_section.cpp ++++ b/Telegram/SourceFiles/history/view/history_view_sublist_section.cpp +@@ -1,3 +1,5 @@ @@ -3883,7 +3904,7 @@ index 0000000..ce311bb + 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 0a24105..e5beeff 100644 ++index 3912e53..b98d08f 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 @@ @@ -3923,7 +3944,7 @@ index 0000000..ce311bb + 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_view_button.cpp b/Telegram/SourceFiles/history/view/history_view_view_button.cpp -+index aa12fe1..3ec72f3 100644 ++index 5f981bd..a7cfd2b 100644 +--- a/Telegram/SourceFiles/history/view/history_view_view_button.cpp ++++ b/Telegram/SourceFiles/history/view/history_view_view_button.cpp +@@ -1,3 +1,5 @@ @@ -3983,7 +4004,7 @@ index 0000000..ce311bb + 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 62bf0f6..0275bd7 100644 ++index 4f43cc9..362b253 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 @@ @@ -4013,7 +4034,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/media/history_view_gif.cpp b/Telegram/SourceFiles/history/view/media/history_view_gif.cpp -+index c6b5add..535aada 100644 ++index c406982..25630df 100644 +--- a/Telegram/SourceFiles/history/view/media/history_view_gif.cpp ++++ b/Telegram/SourceFiles/history/view/media/history_view_gif.cpp +@@ -1,3 +1,5 @@ @@ -4063,7 +4084,7 @@ index 0000000..ce311bb + 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_media.cpp b/Telegram/SourceFiles/history/view/media/history_view_media.cpp -+index 2fc9774..8d6394c 100644 ++index d41c93f..f7540f7 100644 +--- a/Telegram/SourceFiles/history/view/media/history_view_media.cpp ++++ b/Telegram/SourceFiles/history/view/media/history_view_media.cpp +@@ -1,3 +1,5 @@ @@ -4083,7 +4104,7 @@ index 0000000..ce311bb + 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_media_generic.cpp b/Telegram/SourceFiles/history/view/media/history_view_media_generic.cpp -+index 6f970ed..9883653 100644 ++index 077a8eb..a865a13 100644 +--- a/Telegram/SourceFiles/history/view/media/history_view_media_generic.cpp ++++ b/Telegram/SourceFiles/history/view/media/history_view_media_generic.cpp +@@ -1,3 +1,5 @@ @@ -4093,7 +4114,7 @@ index 0000000..ce311bb + 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_media_grouped.cpp b/Telegram/SourceFiles/history/view/media/history_view_media_grouped.cpp -+index 5cf8025..c54075c 100644 ++index 2b7d2cf..3187017 100644 +--- a/Telegram/SourceFiles/history/view/media/history_view_media_grouped.cpp ++++ b/Telegram/SourceFiles/history/view/media/history_view_media_grouped.cpp +@@ -1,3 +1,5 @@ @@ -4123,7 +4144,7 @@ index 0000000..ce311bb + 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_photo.cpp b/Telegram/SourceFiles/history/view/media/history_view_photo.cpp -+index ff7c487..19ba224 100644 ++index 3e56d77..d21d0be 100644 +--- a/Telegram/SourceFiles/history/view/media/history_view_photo.cpp ++++ b/Telegram/SourceFiles/history/view/media/history_view_photo.cpp +@@ -1,3 +1,5 @@ @@ -4133,7 +4154,7 @@ index 0000000..ce311bb + 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_poll.cpp b/Telegram/SourceFiles/history/view/media/history_view_poll.cpp -+index 6f924fc..ccbcc5f 100644 ++index 72b1df9..aa86819 100644 +--- a/Telegram/SourceFiles/history/view/media/history_view_poll.cpp ++++ b/Telegram/SourceFiles/history/view/media/history_view_poll.cpp +@@ -1,3 +1,5 @@ @@ -4143,7 +4164,7 @@ index 0000000..ce311bb + 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 8609735..94765df 100644 ++index 12e9f1f..facccd0 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 @@ @@ -4153,7 +4174,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/media/history_view_service_box.cpp b/Telegram/SourceFiles/history/view/media/history_view_service_box.cpp -+index 571f13a..fd3a1ba 100644 ++index cda0204..361a6fd 100644 +--- a/Telegram/SourceFiles/history/view/media/history_view_service_box.cpp ++++ b/Telegram/SourceFiles/history/view/media/history_view_service_box.cpp +@@ -1,3 +1,5 @@ @@ -4213,7 +4234,7 @@ index 0000000..ce311bb + 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 ef72e8f..daf17d3 100644 ++index 66db740..65c7351 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 @@ @@ -4233,7 +4254,7 @@ index 0000000..ce311bb + 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 71fa581..6c900f9 100644 ++index 4624170..7bbfc5b 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 @@ @@ -4243,7 +4264,7 @@ index 0000000..ce311bb + 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.cpp b/Telegram/SourceFiles/history/view/reactions/history_view_reactions.cpp -+index c1be784..17ad3b9 100644 ++index 4139037..4fddca8 100644 +--- a/Telegram/SourceFiles/history/view/reactions/history_view_reactions.cpp ++++ b/Telegram/SourceFiles/history/view/reactions/history_view_reactions.cpp +@@ -1,3 +1,5 @@ @@ -4303,7 +4324,7 @@ index 0000000..ce311bb + 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 84910f9..be0334a 100644 ++index a1ec889..49b4039 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 @@ @@ -4313,7 +4334,7 @@ index 0000000..ce311bb + 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_widget.cpp b/Telegram/SourceFiles/info/bot/earn/info_bot_earn_widget.cpp -+index 7eab7cf..384547a 100644 ++index 123c8e3..cb68bfe 100644 +--- a/Telegram/SourceFiles/info/bot/earn/info_bot_earn_widget.cpp ++++ b/Telegram/SourceFiles/info/bot/earn/info_bot_earn_widget.cpp +@@ -1,3 +1,5 @@ @@ -4380,7 +4401,7 @@ index 0000000..ce311bb + 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_widget.cpp b/Telegram/SourceFiles/info/channel_statistics/boosts/info_boosts_widget.cpp -+index 60b37cb..7349090 100644 ++index 447897d..f9f8e75 100644 +--- a/Telegram/SourceFiles/info/channel_statistics/boosts/info_boosts_widget.cpp ++++ b/Telegram/SourceFiles/info/channel_statistics/boosts/info_boosts_widget.cpp +@@ -1,3 +1,5 @@ @@ -4390,7 +4411,7 @@ index 0000000..ce311bb + 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 4f87fa5..901b60c 100644 ++index 11f17b8..0e40476 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 @@ @@ -4398,8 +4419,17 @@ index 0000000..ce311bb + /* + 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 ++--- a/Telegram/SourceFiles/info/channel_statistics/earn/earn_icons.cpp +++++ b/Telegram/SourceFiles/info/channel_statistics/earn/earn_icons.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/info/channel_statistics/earn/info_channel_earn_list.cpp b/Telegram/SourceFiles/info/channel_statistics/earn/info_channel_earn_list.cpp -+index 51cf950..9a4310b 100644 ++index 88da162..0a0ef6d 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 @@ @@ -4409,7 +4439,7 @@ index 0000000..ce311bb + 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_widget.cpp b/Telegram/SourceFiles/info/channel_statistics/earn/info_channel_earn_widget.cpp -+index 3074468..75072d9 100644 ++index 99424a1..db28a77 100644 +--- a/Telegram/SourceFiles/info/channel_statistics/earn/info_channel_earn_widget.cpp ++++ b/Telegram/SourceFiles/info/channel_statistics/earn/info_channel_earn_widget.cpp +@@ -1,3 +1,5 @@ @@ -4429,7 +4459,7 @@ index 0000000..ce311bb + 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 37defed..4086b87 100644 ++index cd5fe0b..b168d88 100644 +--- a/Telegram/SourceFiles/info/common_groups/info_common_groups_inner_widget.cpp ++++ b/Telegram/SourceFiles/info/common_groups/info_common_groups_inner_widget.cpp +@@ -1,3 +1,5 @@ @@ -4479,7 +4509,7 @@ index 0000000..ce311bb + 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 507ce0f..5f2ff1a 100644 ++index 9428647..55d849c 100644 +--- a/Telegram/SourceFiles/info/info_content_widget.cpp ++++ b/Telegram/SourceFiles/info/info_content_widget.cpp +@@ -1,3 +1,5 @@ @@ -4489,7 +4519,7 @@ index 0000000..ce311bb + 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 0cdd4bd..5b4f1b2 100644 ++index 7470b1d..1d66a10 100644 +--- a/Telegram/SourceFiles/info/info_controller.cpp ++++ b/Telegram/SourceFiles/info/info_controller.cpp +@@ -1,3 +1,5 @@ @@ -4509,7 +4539,7 @@ index 0000000..ce311bb + 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 ec4eb24..6a995e9 100644 ++index a8018f2..9220e86 100644 +--- a/Telegram/SourceFiles/info/info_memento.cpp ++++ b/Telegram/SourceFiles/info/info_memento.cpp +@@ -1,3 +1,5 @@ @@ -4539,7 +4569,7 @@ index 0000000..ce311bb + 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 992f9f4..82745e7 100644 ++index 363558e..60a6c85 100644 +--- a/Telegram/SourceFiles/info/info_wrap_widget.cpp ++++ b/Telegram/SourceFiles/info/info_wrap_widget.cpp +@@ -1,3 +1,5 @@ @@ -4628,6 +4658,26 @@ index 0000000..ce311bb + /* + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. ++diff --git a/Telegram/SourceFiles/info/peer_gifts/info_peer_gifts_common.cpp b/Telegram/SourceFiles/info/peer_gifts/info_peer_gifts_common.cpp ++index ebf27af..8e47748 100644 ++--- a/Telegram/SourceFiles/info/peer_gifts/info_peer_gifts_common.cpp +++++ b/Telegram/SourceFiles/info/peer_gifts/info_peer_gifts_common.cpp ++@@ -1,3 +1,5 @@ +++#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/peer_gifts/info_peer_gifts_widget.cpp b/Telegram/SourceFiles/info/peer_gifts/info_peer_gifts_widget.cpp ++index 722752f..c0026a2 100644 ++--- a/Telegram/SourceFiles/info/peer_gifts/info_peer_gifts_widget.cpp +++++ b/Telegram/SourceFiles/info/peer_gifts/info_peer_gifts_widget.cpp ++@@ -1,3 +1,5 @@ +++#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/polls/info_polls_results_inner_widget.cpp b/Telegram/SourceFiles/info/polls/info_polls_results_inner_widget.cpp +index f54e09e..e6d9818 100644 +--- a/Telegram/SourceFiles/info/polls/info_polls_results_inner_widget.cpp @@ -4649,7 +4699,7 @@ index 0000000..ce311bb + 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 9df27a1..3df8f4b 100644 ++index 4061189..6a39b9d 100644 +--- a/Telegram/SourceFiles/info/profile/info_profile_actions.cpp ++++ b/Telegram/SourceFiles/info/profile/info_profile_actions.cpp +@@ -1,3 +1,5 @@ @@ -4669,7 +4719,7 @@ index 0000000..ce311bb + 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 3c6fc0e..f14ae5a 100644 ++index a35609c..64b0a98 100644 +--- a/Telegram/SourceFiles/info/profile/info_profile_cover.cpp ++++ b/Telegram/SourceFiles/info/profile/info_profile_cover.cpp +@@ -1,3 +1,5 @@ @@ -4698,7 +4748,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/profile/info_profile_inner_widget.cpp b/Telegram/SourceFiles/info/profile/info_profile_inner_widget.cpp -+index fdca311..dba0d48 100644 ++index 5a9a819..2960032 100644 +--- a/Telegram/SourceFiles/info/profile/info_profile_inner_widget.cpp ++++ b/Telegram/SourceFiles/info/profile/info_profile_inner_widget.cpp +@@ -1,3 +1,5 @@ @@ -4748,7 +4798,7 @@ index 0000000..ce311bb + 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_values.cpp b/Telegram/SourceFiles/info/profile/info_profile_values.cpp -+index 70719e9..c7c4ca9 100644 ++index fba586e..6fb1cbb 100644 +--- a/Telegram/SourceFiles/info/profile/info_profile_values.cpp ++++ b/Telegram/SourceFiles/info/profile/info_profile_values.cpp +@@ -1,3 +1,5 @@ @@ -4798,7 +4848,7 @@ index 0000000..ce311bb + 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_inner_widget.cpp b/Telegram/SourceFiles/info/statistics/info_statistics_inner_widget.cpp -+index 1936221..f5c7f41 100644 ++index 5412b58..17a80bd 100644 +--- a/Telegram/SourceFiles/info/statistics/info_statistics_inner_widget.cpp ++++ b/Telegram/SourceFiles/info/statistics/info_statistics_inner_widget.cpp +@@ -1,3 +1,5 @@ @@ -4808,7 +4858,7 @@ index 0000000..ce311bb + 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 495cb45..6b50786 100644 ++index b342ad0..086ac35 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 @@ @@ -4818,7 +4868,7 @@ index 0000000..ce311bb + 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_recent_message.cpp b/Telegram/SourceFiles/info/statistics/info_statistics_recent_message.cpp -+index c09038b..9ffa4a1 100644 ++index 2f8b1d0..8379768 100644 +--- a/Telegram/SourceFiles/info/statistics/info_statistics_recent_message.cpp ++++ b/Telegram/SourceFiles/info/statistics/info_statistics_recent_message.cpp +@@ -1,3 +1,5 @@ @@ -4828,7 +4878,7 @@ index 0000000..ce311bb + 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_widget.cpp b/Telegram/SourceFiles/info/statistics/info_statistics_widget.cpp -+index fc40d9e..73d2765 100644 ++index 087d3dd..7f3684f 100644 +--- a/Telegram/SourceFiles/info/statistics/info_statistics_widget.cpp ++++ b/Telegram/SourceFiles/info/statistics/info_statistics_widget.cpp +@@ -1,3 +1,5 @@ @@ -4935,7 +4985,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/userpic/info_userpic_emoji_builder_preview.cpp b/Telegram/SourceFiles/info/userpic/info_userpic_emoji_builder_preview.cpp -+index 6918d51..221cf3f 100644 ++index 280b5c1..de2c7c5 100644 +--- a/Telegram/SourceFiles/info/userpic/info_userpic_emoji_builder_preview.cpp ++++ b/Telegram/SourceFiles/info/userpic/info_userpic_emoji_builder_preview.cpp +@@ -1,3 +1,5 @@ @@ -4955,7 +5005,7 @@ index 0000000..ce311bb + 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 0e79803..1a6b416 100644 ++index be215bc..bf1c2a3 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 @@ @@ -5000,7 +5050,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/inline_bots/inline_results_inner.cpp b/Telegram/SourceFiles/inline_bots/inline_results_inner.cpp -+index 3caba75..469d4bd 100644 ++index 6f1ae79..04961bd 100644 +--- a/Telegram/SourceFiles/inline_bots/inline_results_inner.cpp ++++ b/Telegram/SourceFiles/inline_bots/inline_results_inner.cpp +@@ -1,3 +1,4 @@ @@ -5099,7 +5149,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/iv/iv_controller.cpp b/Telegram/SourceFiles/iv/iv_controller.cpp -+index 88da067..57673a1 100644 ++index c0e6ce9..437bab6 100644 +--- a/Telegram/SourceFiles/iv/iv_controller.cpp ++++ b/Telegram/SourceFiles/iv/iv_controller.cpp +@@ -1,3 +1,5 @@ @@ -5119,7 +5169,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/iv/iv_delegate_impl.cpp b/Telegram/SourceFiles/iv/iv_delegate_impl.cpp -+index 4de0fa0..b7ebb7c 100644 ++index e97de87..dc0e7b6 100644 +--- a/Telegram/SourceFiles/iv/iv_delegate_impl.cpp ++++ b/Telegram/SourceFiles/iv/iv_delegate_impl.cpp +@@ -1,3 +1,6 @@ @@ -5141,7 +5191,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/iv/iv_prepare.cpp b/Telegram/SourceFiles/iv/iv_prepare.cpp -+index 2f8a539..aeea88a 100644 ++index 6fc891a..597a2dd 100644 +--- a/Telegram/SourceFiles/iv/iv_prepare.cpp ++++ b/Telegram/SourceFiles/iv/iv_prepare.cpp +@@ -1,3 +1,5 @@ @@ -5151,7 +5201,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/lang/lang_cloud_manager.cpp b/Telegram/SourceFiles/lang/lang_cloud_manager.cpp -+index 8c98b96..79579d3 100644 ++index 5bbe85c..e57245f 100644 +--- a/Telegram/SourceFiles/lang/lang_cloud_manager.cpp ++++ b/Telegram/SourceFiles/lang/lang_cloud_manager.cpp +@@ -1,3 +1,5 @@ @@ -5199,7 +5249,7 @@ index 0000000..ce311bb + 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 7b1a10a..353eaeb 100644 ++index 2435a77..ddd99de 100644 +--- a/Telegram/SourceFiles/lang/lang_tag.cpp ++++ b/Telegram/SourceFiles/lang/lang_tag.cpp +@@ -1,3 +1,4 @@ @@ -5208,7 +5258,7 @@ index 0000000..ce311bb + 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 297ae1f..50e322f 100644 ++index b1163b0..23098bf 100644 +--- a/Telegram/SourceFiles/lang/lang_tag.h ++++ b/Telegram/SourceFiles/lang/lang_tag.h +@@ -1,3 +1,4 @@ @@ -5319,7 +5369,7 @@ index 0000000..ce311bb + 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 11e8195..32fe5d3 100644 ++index f325c8e..ab506d5 100644 +--- a/Telegram/SourceFiles/main/main_app_config.cpp ++++ b/Telegram/SourceFiles/main/main_app_config.cpp +@@ -1,3 +1,4 @@ @@ -5382,7 +5432,7 @@ index 0000000..ce311bb + 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 f0daa4e..c6bd15a 100644 ++index 5fc463f..80dfdf2 100644 +--- a/Telegram/SourceFiles/mainwidget.cpp ++++ b/Telegram/SourceFiles/mainwidget.cpp +@@ -1,3 +1,4 @@ @@ -5419,7 +5469,7 @@ index 0000000..ce311bb + 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_capture.cpp b/Telegram/SourceFiles/media/audio/media_audio_capture.cpp -+index 1bbf9b1..3e23928 100644 ++index d46f878..2889b4a 100644 +--- a/Telegram/SourceFiles/media/audio/media_audio_capture.cpp ++++ b/Telegram/SourceFiles/media/audio/media_audio_capture.cpp +@@ -1,3 +1,5 @@ @@ -5515,7 +5565,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/media/player/media_player_button.cpp b/Telegram/SourceFiles/media/player/media_player_button.cpp -+index 0e9ab42..0ff0deb 100644 ++index 2fc6b88..01b5339 100644 +--- a/Telegram/SourceFiles/media/player/media_player_button.cpp ++++ b/Telegram/SourceFiles/media/player/media_player_button.cpp +@@ -1,3 +1,4 @@ @@ -5524,7 +5574,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/media/player/media_player_dropdown.cpp b/Telegram/SourceFiles/media/player/media_player_dropdown.cpp -+index 0a8b181..bf80803 100644 ++index 27a29d7..7e9fc51 100644 +--- a/Telegram/SourceFiles/media/player/media_player_dropdown.cpp ++++ b/Telegram/SourceFiles/media/player/media_player_dropdown.cpp +@@ -1,3 +1,4 @@ @@ -5543,7 +5593,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/media/player/media_player_instance.cpp b/Telegram/SourceFiles/media/player/media_player_instance.cpp -+index 4dc687a..9b45597 100644 ++index 12792f3..cfdd869 100644 +--- a/Telegram/SourceFiles/media/player/media_player_instance.cpp ++++ b/Telegram/SourceFiles/media/player/media_player_instance.cpp +@@ -1,3 +1,5 @@ @@ -5573,7 +5623,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/media/player/media_player_widget.cpp b/Telegram/SourceFiles/media/player/media_player_widget.cpp -+index f45bda8..48228dd 100644 ++index 6425b79..e48d377 100644 +--- a/Telegram/SourceFiles/media/player/media_player_widget.cpp ++++ b/Telegram/SourceFiles/media/player/media_player_widget.cpp +@@ -1,3 +1,5 @@ @@ -5593,7 +5643,7 @@ index 0000000..ce311bb + 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 fc75e36..737ee2b 100644 ++index 1405eaa..4007ad9 100644 +--- a/Telegram/SourceFiles/media/stories/media_stories_controller.cpp ++++ b/Telegram/SourceFiles/media/stories/media_stories_controller.cpp +@@ -1,3 +1,5 @@ @@ -5643,7 +5693,7 @@ index 0000000..ce311bb + 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_reply.cpp b/Telegram/SourceFiles/media/stories/media_stories_reply.cpp -+index 136c77b..949f332 100644 ++index c034d61..b2d6a95 100644 +--- a/Telegram/SourceFiles/media/stories/media_stories_reply.cpp ++++ b/Telegram/SourceFiles/media/stories/media_stories_reply.cpp +@@ -1,3 +1,5 @@ @@ -5723,7 +5773,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/media/streaming/media_streaming_document.cpp b/Telegram/SourceFiles/media/streaming/media_streaming_document.cpp -+index 27c0904..434aecd 100644 ++index 5ba5ff5..42dfcce 100644 +--- a/Telegram/SourceFiles/media/streaming/media_streaming_document.cpp ++++ b/Telegram/SourceFiles/media/streaming/media_streaming_document.cpp +@@ -1,3 +1,5 @@ @@ -5733,7 +5783,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/media/streaming/media_streaming_file.cpp b/Telegram/SourceFiles/media/streaming/media_streaming_file.cpp -+index 22427c2..86746d5 100644 ++index 9e5ee84..d7039fd 100644 +--- a/Telegram/SourceFiles/media/streaming/media_streaming_file.cpp ++++ b/Telegram/SourceFiles/media/streaming/media_streaming_file.cpp +@@ -1,3 +1,5 @@ @@ -5743,7 +5793,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/media/streaming/media_streaming_instance.cpp b/Telegram/SourceFiles/media/streaming/media_streaming_instance.cpp -+index 898bf76..f5d9e13 100644 ++index 4d4149c..a8b3630 100644 +--- a/Telegram/SourceFiles/media/streaming/media_streaming_instance.cpp ++++ b/Telegram/SourceFiles/media/streaming/media_streaming_instance.cpp +@@ -1,3 +1,5 @@ @@ -5763,7 +5813,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/media/streaming/media_streaming_loader_local.cpp b/Telegram/SourceFiles/media/streaming/media_streaming_loader_local.cpp -+index a85dbe7..900323f 100644 ++index 868296d..81dcafb 100644 +--- a/Telegram/SourceFiles/media/streaming/media_streaming_loader_local.cpp ++++ b/Telegram/SourceFiles/media/streaming/media_streaming_loader_local.cpp +@@ -1,3 +1,5 @@ @@ -5773,7 +5823,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/media/streaming/media_streaming_loader_mtproto.cpp b/Telegram/SourceFiles/media/streaming/media_streaming_loader_mtproto.cpp -+index 15f8814..ff2f05a 100644 ++index d6f869c..49988bb 100644 +--- a/Telegram/SourceFiles/media/streaming/media_streaming_loader_mtproto.cpp ++++ b/Telegram/SourceFiles/media/streaming/media_streaming_loader_mtproto.cpp +@@ -1,3 +1,5 @@ @@ -5783,7 +5833,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/media/streaming/media_streaming_player.cpp b/Telegram/SourceFiles/media/streaming/media_streaming_player.cpp -+index 699cbdf..c97aed5 100644 ++index 0005d17..17fbee4 100644 +--- a/Telegram/SourceFiles/media/streaming/media_streaming_player.cpp ++++ b/Telegram/SourceFiles/media/streaming/media_streaming_player.cpp +@@ -1,3 +1,5 @@ @@ -5793,7 +5843,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/media/streaming/media_streaming_reader.cpp b/Telegram/SourceFiles/media/streaming/media_streaming_reader.cpp -+index 95654e5..8dc6f47 100644 ++index 1788f6d..2b78ea7 100644 +--- a/Telegram/SourceFiles/media/streaming/media_streaming_reader.cpp ++++ b/Telegram/SourceFiles/media/streaming/media_streaming_reader.cpp +@@ -1,3 +1,5 @@ @@ -5802,6 +5852,16 @@ index 0000000..ce311bb + /* + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. ++diff --git a/Telegram/SourceFiles/media/streaming/media_streaming_round_preview.cpp b/Telegram/SourceFiles/media/streaming/media_streaming_round_preview.cpp ++index 56beb61..a0079fa 100644 ++--- a/Telegram/SourceFiles/media/streaming/media_streaming_round_preview.cpp +++++ b/Telegram/SourceFiles/media/streaming/media_streaming_round_preview.cpp ++@@ -1,3 +1,5 @@ +++#include "ui/ui_pch.h" +++#include "stdafx.h" ++ /* ++ This file is part of Telegram Desktop, ++ the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/media/streaming/media_streaming_utility.cpp b/Telegram/SourceFiles/media/streaming/media_streaming_utility.cpp +index fdfbe20..3c23652 100644 +--- a/Telegram/SourceFiles/media/streaming/media_streaming_utility.cpp @@ -5862,7 +5922,7 @@ index 0000000..ce311bb + 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 2edaf3f..e20eef1 100644 ++index 183f891..2b45953 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 @@ @@ -5872,7 +5932,7 @@ index 0000000..ce311bb + 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_pip.cpp b/Telegram/SourceFiles/media/view/media_view_pip.cpp -+index f5d5902..9a26ac8 100644 ++index 94e44cb..7bdff68 100644 +--- a/Telegram/SourceFiles/media/view/media_view_pip.cpp ++++ b/Telegram/SourceFiles/media/view/media_view_pip.cpp +@@ -1,3 +1,5 @@ @@ -5902,7 +5962,7 @@ index 0000000..ce311bb + 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_playback_controls.cpp b/Telegram/SourceFiles/media/view/media_view_playback_controls.cpp -+index 896a66e..2b486a3 100644 ++index 5ecb20d..efff4ab 100644 +--- a/Telegram/SourceFiles/media/view/media_view_playback_controls.cpp ++++ b/Telegram/SourceFiles/media/view/media_view_playback_controls.cpp +@@ -1,3 +1,5 @@ @@ -5961,7 +6021,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/menu/menu_send.cpp b/Telegram/SourceFiles/menu/menu_send.cpp -+index 3cf7a94..0b50b97 100644 ++index dd88077..7ded92b 100644 +--- a/Telegram/SourceFiles/menu/menu_send.cpp ++++ b/Telegram/SourceFiles/menu/menu_send.cpp +@@ -1,3 +1,5 @@ @@ -5971,7 +6031,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/menu/menu_sponsored.cpp b/Telegram/SourceFiles/menu/menu_sponsored.cpp -+index 4b689aa..65fa7f6 100644 ++index 631f4aa..3b99dd2 100644 +--- a/Telegram/SourceFiles/menu/menu_sponsored.cpp ++++ b/Telegram/SourceFiles/menu/menu_sponsored.cpp +@@ -1,3 +1,5 @@ @@ -6102,7 +6162,7 @@ index 0000000..ce311bb + 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 4ab0ce8..92a07f1 100644 ++index 0206faf..884c70d 100644 +--- a/Telegram/SourceFiles/mtproto/details/mtproto_domain_resolver.cpp ++++ b/Telegram/SourceFiles/mtproto/details/mtproto_domain_resolver.cpp +@@ -1,3 +1,4 @@ @@ -6413,7 +6473,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/passport/ui/passport_details_row.cpp b/Telegram/SourceFiles/passport/ui/passport_details_row.cpp -+index b50ff51..23653f6 100644 ++index 55739b7..a26e374 100644 +--- a/Telegram/SourceFiles/passport/ui/passport_details_row.cpp ++++ b/Telegram/SourceFiles/passport/ui/passport_details_row.cpp +@@ -1,3 +1,4 @@ @@ -6431,7 +6491,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/payments/payments_checkout_process.cpp b/Telegram/SourceFiles/payments/payments_checkout_process.cpp -+index 9a5daf9..8b84629 100644 ++index 0925d89..14e9680 100644 +--- a/Telegram/SourceFiles/payments/payments_checkout_process.cpp ++++ b/Telegram/SourceFiles/payments/payments_checkout_process.cpp +@@ -1,3 +1,5 @@ @@ -6441,7 +6501,7 @@ index 0000000..ce311bb + 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 472de9d..74c836a 100644 ++index 7941404..cb9c198 100644 +--- a/Telegram/SourceFiles/payments/payments_form.cpp ++++ b/Telegram/SourceFiles/payments/payments_form.cpp +@@ -1,3 +1,5 @@ @@ -6451,7 +6511,7 @@ index 0000000..ce311bb + 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 3934289..863e6d0 100644 ++index 6f348df..4fcea25 100644 +--- a/Telegram/SourceFiles/payments/payments_non_panel_process.cpp ++++ b/Telegram/SourceFiles/payments/payments_non_panel_process.cpp +@@ -1,3 +1,5 @@ @@ -6658,7 +6718,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/platform/linux/integration_linux.cpp b/Telegram/SourceFiles/platform/linux/integration_linux.cpp -+index 111b33f..98ed636 100644 ++index 508199a..fb2d3c7 100644 +--- a/Telegram/SourceFiles/platform/linux/integration_linux.cpp ++++ b/Telegram/SourceFiles/platform/linux/integration_linux.cpp +@@ -1,3 +1,4 @@ @@ -6667,7 +6727,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/platform/linux/launcher_linux.cpp b/Telegram/SourceFiles/platform/linux/launcher_linux.cpp -+index 0089103..c252997 100644 ++index 3c853c7..8c25471 100644 +--- a/Telegram/SourceFiles/platform/linux/launcher_linux.cpp ++++ b/Telegram/SourceFiles/platform/linux/launcher_linux.cpp +@@ -1,3 +1,4 @@ @@ -6703,7 +6763,7 @@ index 0000000..ce311bb + /* + This file is part of Telegram Desktop, +diff --git a/Telegram/SourceFiles/platform/linux/specific_linux.cpp b/Telegram/SourceFiles/platform/linux/specific_linux.cpp -+index 02f9e05..a153917 100644 ++index 18eab54..a336b8e 100644 +--- a/Telegram/SourceFiles/platform/linux/specific_linux.cpp ++++ b/Telegram/SourceFiles/platform/linux/specific_linux.cpp +@@ -1,3 +1,4 @@ @@ -6730,7 +6790,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/platform/platform_overlay_widget.cpp b/Telegram/SourceFiles/platform/platform_overlay_widget.cpp -+index 03e8d32..faa01fe 100644 ++index 63e1de5..58e0bda 100644 +--- a/Telegram/SourceFiles/platform/platform_overlay_widget.cpp ++++ b/Telegram/SourceFiles/platform/platform_overlay_widget.cpp +@@ -1,3 +1,4 @@ @@ -6823,7 +6883,7 @@ index 0000000..ce311bb + 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 3c75cf9..1a20923 100644 ++index cd439e1..399abe2 100644 +--- a/Telegram/SourceFiles/settings/business/settings_chatbots.cpp ++++ b/Telegram/SourceFiles/settings/business/settings_chatbots.cpp +@@ -1,3 +1,5 @@ @@ -6853,7 +6913,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/settings/business/settings_quick_replies.cpp b/Telegram/SourceFiles/settings/business/settings_quick_replies.cpp -+index 941409f..6c69b5d 100644 ++index e59ef70..0a2f470 100644 +--- a/Telegram/SourceFiles/settings/business/settings_quick_replies.cpp ++++ b/Telegram/SourceFiles/settings/business/settings_quick_replies.cpp +@@ -1,3 +1,5 @@ @@ -6873,7 +6933,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/settings/business/settings_shortcut_messages.cpp b/Telegram/SourceFiles/settings/business/settings_shortcut_messages.cpp -+index 68e4b8c..ee0c4e3 100644 ++index d1dfbba..0d9ecac 100644 +--- a/Telegram/SourceFiles/settings/business/settings_shortcut_messages.cpp ++++ b/Telegram/SourceFiles/settings/business/settings_shortcut_messages.cpp +@@ -1,3 +1,5 @@ @@ -6983,7 +7043,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/settings/settings_calls.cpp b/Telegram/SourceFiles/settings/settings_calls.cpp -+index de7c34e..dec0612 100644 ++index d7e2947..c9c7d23 100644 +--- a/Telegram/SourceFiles/settings/settings_calls.cpp ++++ b/Telegram/SourceFiles/settings/settings_calls.cpp +@@ -1,3 +1,4 @@ @@ -6992,7 +7052,7 @@ index 0000000..ce311bb + 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 a45a878..4ab1e61 100644 ++index a83b75b..6840b18 100644 +--- a/Telegram/SourceFiles/settings/settings_chat.cpp ++++ b/Telegram/SourceFiles/settings/settings_chat.cpp +@@ -1,3 +1,4 @@ @@ -7028,7 +7088,7 @@ index 0000000..ce311bb + 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 5051c70..6364ea3 100644 ++index b36f1df..5a6f08f 100644 +--- a/Telegram/SourceFiles/settings/settings_credits.cpp ++++ b/Telegram/SourceFiles/settings/settings_credits.cpp +@@ -1,3 +1,4 @@ @@ -7037,7 +7097,7 @@ index 0000000..ce311bb + 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 eabd6d2..eab9965 100644 ++index 6f50c87..17669fe 100644 +--- a/Telegram/SourceFiles/settings/settings_credits_graphics.cpp ++++ b/Telegram/SourceFiles/settings/settings_credits_graphics.cpp +@@ -1,3 +1,4 @@ @@ -7064,7 +7124,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/settings/settings_global_ttl.cpp b/Telegram/SourceFiles/settings/settings_global_ttl.cpp -+index 99dea5b..cbaaabd 100644 ++index 0e5d338..3302cd8 100644 +--- a/Telegram/SourceFiles/settings/settings_global_ttl.cpp ++++ b/Telegram/SourceFiles/settings/settings_global_ttl.cpp +@@ -1,3 +1,4 @@ @@ -7100,7 +7160,7 @@ index 0000000..ce311bb + 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 19c6ac6..ec023ce 100644 ++index 47aafcd..5e022a7 100644 +--- a/Telegram/SourceFiles/settings/settings_main.cpp ++++ b/Telegram/SourceFiles/settings/settings_main.cpp +@@ -1,3 +1,4 @@ @@ -7109,7 +7169,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/settings/settings_notifications.cpp b/Telegram/SourceFiles/settings/settings_notifications.cpp -+index 1a04419..1bdb33b 100644 ++index 00a8bdb..4411f64 100644 +--- a/Telegram/SourceFiles/settings/settings_notifications.cpp ++++ b/Telegram/SourceFiles/settings/settings_notifications.cpp +@@ -1,3 +1,4 @@ @@ -7118,7 +7178,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/settings/settings_notifications_type.cpp b/Telegram/SourceFiles/settings/settings_notifications_type.cpp -+index 802a82e..739fb01 100644 ++index df18b65..25b311f 100644 +--- a/Telegram/SourceFiles/settings/settings_notifications_type.cpp ++++ b/Telegram/SourceFiles/settings/settings_notifications_type.cpp +@@ -1,3 +1,4 @@ @@ -7145,7 +7205,7 @@ index 0000000..ce311bb + 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 ba656c5..64653d3 100644 ++index dc9a7bc..f80ed33 100644 +--- a/Telegram/SourceFiles/settings/settings_privacy_controllers.cpp ++++ b/Telegram/SourceFiles/settings/settings_privacy_controllers.cpp +@@ -1,3 +1,4 @@ @@ -7262,7 +7322,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/statistics/view/chart_rulers_view.cpp b/Telegram/SourceFiles/statistics/view/chart_rulers_view.cpp -+index ac9dc45..6e3f71c 100644 ++index 8a94d10..93dea4d 100644 +--- a/Telegram/SourceFiles/statistics/view/chart_rulers_view.cpp ++++ b/Telegram/SourceFiles/statistics/view/chart_rulers_view.cpp +@@ -1,3 +1,4 @@ @@ -7334,7 +7394,7 @@ index 0000000..ce311bb + 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 dc0668e..7812136 100644 ++index 1091c99..1e00a98 100644 +--- a/Telegram/SourceFiles/statistics/widgets/point_details_widget.cpp ++++ b/Telegram/SourceFiles/statistics/widgets/point_details_widget.cpp +@@ -1,3 +1,4 @@ @@ -7343,7 +7403,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/storage/details/storage_file_utilities.cpp b/Telegram/SourceFiles/storage/details/storage_file_utilities.cpp -+index 0ef6baa..9723f1a 100644 ++index b433848..cd4f464 100644 +--- a/Telegram/SourceFiles/storage/details/storage_file_utilities.cpp ++++ b/Telegram/SourceFiles/storage/details/storage_file_utilities.cpp +@@ -1,3 +1,4 @@ @@ -7397,7 +7457,7 @@ index 0000000..ce311bb + 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 95c4b0a..42b4317 100644 ++index eef376b..13bb7d2 100644 +--- a/Telegram/SourceFiles/storage/file_upload.cpp ++++ b/Telegram/SourceFiles/storage/file_upload.cpp +@@ -1,3 +1,4 @@ @@ -7406,7 +7466,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/storage/localimageloader.cpp b/Telegram/SourceFiles/storage/localimageloader.cpp -+index dc3751b..929f4e1 100644 ++index 8a98691..304c17f 100644 +--- a/Telegram/SourceFiles/storage/localimageloader.cpp ++++ b/Telegram/SourceFiles/storage/localimageloader.cpp +@@ -1,3 +1,4 @@ @@ -7433,7 +7493,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/storage/serialize_document.cpp b/Telegram/SourceFiles/storage/serialize_document.cpp -+index efb5275..228d4de 100644 ++index e13a587..b2af392 100644 +--- a/Telegram/SourceFiles/storage/serialize_document.cpp ++++ b/Telegram/SourceFiles/storage/serialize_document.cpp +@@ -1,3 +1,4 @@ @@ -7451,7 +7511,7 @@ index 0000000..ce311bb + 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 bfac715..ab3a939 100644 ++index 031e61e..cd759f8 100644 +--- a/Telegram/SourceFiles/storage/storage_account.cpp ++++ b/Telegram/SourceFiles/storage/storage_account.cpp +@@ -1,3 +1,4 @@ @@ -7667,7 +7727,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/boxes/collectible_info_box.cpp b/Telegram/SourceFiles/ui/boxes/collectible_info_box.cpp -+index 4498bec..394cceb 100644 ++index d76d680..4fb0438 100644 +--- a/Telegram/SourceFiles/ui/boxes/collectible_info_box.cpp ++++ b/Telegram/SourceFiles/ui/boxes/collectible_info_box.cpp +@@ -1,3 +1,4 @@ @@ -7676,7 +7736,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/boxes/confirm_box.cpp b/Telegram/SourceFiles/ui/boxes/confirm_box.cpp -+index 275be6c..5ae22d6 100644 ++index cfe7d23..4baa476 100644 +--- a/Telegram/SourceFiles/ui/boxes/confirm_box.cpp ++++ b/Telegram/SourceFiles/ui/boxes/confirm_box.cpp +@@ -1,3 +1,4 @@ @@ -7740,7 +7800,7 @@ index 0000000..ce311bb + 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 7001e51..97cac5d 100644 ++index 426f970..3bfea10 100644 +--- a/Telegram/SourceFiles/ui/boxes/peer_qr_box.cpp ++++ b/Telegram/SourceFiles/ui/boxes/peer_qr_box.cpp +@@ -1,3 +1,5 @@ @@ -7758,10 +7818,10 @@ index 0000000..ce311bb + /* + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. -+diff --git a/Telegram/SourceFiles/ui/boxes/report_box.cpp b/Telegram/SourceFiles/ui/boxes/report_box.cpp -+index f27ed87..1047b43 100644 -+--- a/Telegram/SourceFiles/ui/boxes/report_box.cpp -++++ b/Telegram/SourceFiles/ui/boxes/report_box.cpp ++diff --git a/Telegram/SourceFiles/ui/boxes/report_box_graphics.cpp b/Telegram/SourceFiles/ui/boxes/report_box_graphics.cpp ++index 483e61c..d7c41b3 100644 ++--- a/Telegram/SourceFiles/ui/boxes/report_box_graphics.cpp +++++ b/Telegram/SourceFiles/ui/boxes/report_box_graphics.cpp +@@ -1,3 +1,4 @@ ++#include "ui/ui_pch.h" + /* @@ -7840,7 +7900,7 @@ index 0000000..ce311bb + 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 3a39e23..dd89980 100644 ++index daab635..908d7d9 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 @@ @@ -7876,7 +7936,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/chat/attach/attach_item_single_media_preview.cpp b/Telegram/SourceFiles/ui/chat/attach/attach_item_single_media_preview.cpp -+index d180059..555b8d5 100644 ++index 49eeacd..a1ceeb6 100644 +--- a/Telegram/SourceFiles/ui/chat/attach/attach_item_single_media_preview.cpp ++++ b/Telegram/SourceFiles/ui/chat/attach/attach_item_single_media_preview.cpp +@@ -1,3 +1,5 @@ @@ -7922,7 +7982,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/chat/chat_style.cpp b/Telegram/SourceFiles/ui/chat/chat_style.cpp -+index 0c50f77..bb662e5 100644 ++index 784d9e4..4b31b11 100644 +--- a/Telegram/SourceFiles/ui/chat/chat_style.cpp ++++ b/Telegram/SourceFiles/ui/chat/chat_style.cpp +@@ -1,3 +1,4 @@ @@ -8049,6 +8109,16 @@ index 0000000..ce311bb + /* + 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 ++--- a/Telegram/SourceFiles/ui/chat/sponsored_message_bar.cpp +++++ b/Telegram/SourceFiles/ui/chat/sponsored_message_bar.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/color_contrast.cpp b/Telegram/SourceFiles/ui/color_contrast.cpp +index ea3f9d0..3d68ce1 100644 +--- a/Telegram/SourceFiles/ui/color_contrast.cpp @@ -8159,7 +8229,7 @@ index 0000000..ce311bb + 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 945e5cf..26f119d 100644 ++index 71b3c6f..d55d372 100644 +--- a/Telegram/SourceFiles/ui/controls/location_picker.cpp ++++ b/Telegram/SourceFiles/ui/controls/location_picker.cpp +@@ -1,3 +1,5 @@ @@ -8177,6 +8247,15 @@ index 0000000..ce311bb + /* + 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 ++--- a/Telegram/SourceFiles/ui/controls/round_video_recorder.cpp +++++ b/Telegram/SourceFiles/ui/controls/round_video_recorder.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/controls/send_as_button.cpp b/Telegram/SourceFiles/ui/controls/send_as_button.cpp +index 2ffbe77..c713ff3 100644 +--- a/Telegram/SourceFiles/ui/controls/send_as_button.cpp @@ -8187,7 +8266,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/controls/send_button.cpp b/Telegram/SourceFiles/ui/controls/send_button.cpp -+index 639c2a7..68a4c5a 100644 ++index e0388c0..9afce11 100644 +--- a/Telegram/SourceFiles/ui/controls/send_button.cpp ++++ b/Telegram/SourceFiles/ui/controls/send_button.cpp +@@ -1,3 +1,4 @@ @@ -8215,7 +8294,7 @@ index 0000000..ce311bb + 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 ea0bfa9..c20b304 100644 ++index 947a157..efebee4 100644 +--- a/Telegram/SourceFiles/ui/controls/userpic_button.cpp ++++ b/Telegram/SourceFiles/ui/controls/userpic_button.cpp +@@ -1,3 +1,5 @@ @@ -8225,7 +8304,7 @@ index 0000000..ce311bb + 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 37a15de..7d24a0b 100644 ++index a2f8f72..600d246 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 @@ @@ -8262,16 +8341,17 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/dynamic_thumbnails.cpp b/Telegram/SourceFiles/ui/dynamic_thumbnails.cpp -+index 868e95c..ae2e773 100644 ++index f653886..857d752 100644 +--- a/Telegram/SourceFiles/ui/dynamic_thumbnails.cpp ++++ b/Telegram/SourceFiles/ui/dynamic_thumbnails.cpp -+@@ -1,3 +1,4 @@ ++@@ -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/effects/credits_graphics.cpp b/Telegram/SourceFiles/ui/effects/credits_graphics.cpp -+index e82ec08..018738d 100644 ++index 97b6a74..3e6ad0d 100644 +--- a/Telegram/SourceFiles/ui/effects/credits_graphics.cpp ++++ b/Telegram/SourceFiles/ui/effects/credits_graphics.cpp +@@ -1,3 +1,5 @@ @@ -8355,7 +8435,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/effects/premium_stars.cpp b/Telegram/SourceFiles/ui/effects/premium_stars.cpp -+index c63f700..0bf114a 100644 ++index 23d8ad3..4730590 100644 +--- a/Telegram/SourceFiles/ui/effects/premium_stars.cpp ++++ b/Telegram/SourceFiles/ui/effects/premium_stars.cpp +@@ -1,3 +1,4 @@ @@ -8364,7 +8444,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/effects/premium_stars_colored.cpp b/Telegram/SourceFiles/ui/effects/premium_stars_colored.cpp -+index 5e20cfd..bce8914 100644 ++index c90dc97..d215298 100644 +--- a/Telegram/SourceFiles/ui/effects/premium_stars_colored.cpp ++++ b/Telegram/SourceFiles/ui/effects/premium_stars_colored.cpp +@@ -1,3 +1,4 @@ @@ -8634,7 +8714,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/webview_helpers.cpp b/Telegram/SourceFiles/ui/webview_helpers.cpp -+index 3be7a63..bb29cb4 100644 ++index 01cd56c..cb00189 100644 +--- a/Telegram/SourceFiles/ui/webview_helpers.cpp ++++ b/Telegram/SourceFiles/ui/webview_helpers.cpp +@@ -1,3 +1,4 @@ @@ -8643,7 +8723,7 @@ index 0000000..ce311bb + 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 bf2ba26..9684877 100644 ++index c8fc937..9775c4a 100644 +--- a/Telegram/SourceFiles/ui/widgets/color_editor.cpp ++++ b/Telegram/SourceFiles/ui/widgets/color_editor.cpp +@@ -1,3 +1,4 @@ @@ -8779,7 +8859,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/window/notifications_manager_default.cpp b/Telegram/SourceFiles/window/notifications_manager_default.cpp -+index 05b46f7..75837c8 100644 ++index 198418b..c8f138a 100644 +--- a/Telegram/SourceFiles/window/notifications_manager_default.cpp ++++ b/Telegram/SourceFiles/window/notifications_manager_default.cpp +@@ -1,3 +1,4 @@ @@ -8806,7 +8886,7 @@ index 0000000..ce311bb + 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 640a9b1..d510026 100644 ++index 899534d..0c3e12a 100644 +--- a/Telegram/SourceFiles/window/themes/window_theme.cpp ++++ b/Telegram/SourceFiles/window/themes/window_theme.cpp +@@ -1,3 +1,4 @@ @@ -8824,7 +8904,7 @@ index 0000000..ce311bb + 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_editor_block.cpp b/Telegram/SourceFiles/window/themes/window_theme_editor_block.cpp -+index 9c0c85c..fe4ec5c 100644 ++index cd5b5d8..8465496 100644 +--- a/Telegram/SourceFiles/window/themes/window_theme_editor_block.cpp ++++ b/Telegram/SourceFiles/window/themes/window_theme_editor_block.cpp +@@ -1,3 +1,4 @@ @@ -8896,7 +8976,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/window/window_chat_preview.cpp b/Telegram/SourceFiles/window/window_chat_preview.cpp -+index e95d58d..cc2d471 100644 ++index 2a9607a..735e999 100644 +--- a/Telegram/SourceFiles/window/window_chat_preview.cpp ++++ b/Telegram/SourceFiles/window/window_chat_preview.cpp +@@ -1,3 +1,4 @@ @@ -8904,7 +8984,7 @@ index 0000000..ce311bb + /* + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. -+@@ -138,4 +139,4 @@ void ChatPreviewManager::cancelScheduled() { ++@@ -139,4 +140,4 @@ void ChatPreviewManager::cancelScheduled() { + _timer.cancel(); + } + @@ -8930,7 +9010,7 @@ index 0000000..ce311bb + 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 fe8e6ec..bcce63a 100644 ++index daf2178..5188a35 100644 +--- a/Telegram/SourceFiles/window/window_filters_menu.cpp ++++ b/Telegram/SourceFiles/window/window_filters_menu.cpp +@@ -1,3 +1,4 @@ @@ -8957,7 +9037,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/window/window_main_menu.cpp b/Telegram/SourceFiles/window/window_main_menu.cpp -+index 0d22289..404d1bd 100644 ++index 2f97454..a70d91f 100644 +--- a/Telegram/SourceFiles/window/window_main_menu.cpp ++++ b/Telegram/SourceFiles/window/window_main_menu.cpp +@@ -1,3 +1,4 @@ @@ -8966,7 +9046,7 @@ index 0000000..ce311bb + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/window/window_main_menu_helpers.cpp b/Telegram/SourceFiles/window/window_main_menu_helpers.cpp -+index bf15aac..200df6d 100644 ++index baf2275..b202930 100644 +--- a/Telegram/SourceFiles/window/window_main_menu_helpers.cpp ++++ b/Telegram/SourceFiles/window/window_main_menu_helpers.cpp +@@ -1,3 +1,4 @@ @@ -8984,7 +9064,7 @@ index 0000000..ce311bb + 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 6820f4a..ace25a8 100644 ++index a053bc8..388ec90 100644 +--- a/Telegram/SourceFiles/window/window_peer_menu.cpp ++++ b/Telegram/SourceFiles/window/window_peer_menu.cpp +@@ -1,3 +1,4 @@ @@ -9002,7 +9082,7 @@ index 0000000..ce311bb + 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 175a58e..b1d9614 100644 ++index 06ce1e5..0076f78 100644 +--- a/Telegram/SourceFiles/window/window_session_controller.cpp ++++ b/Telegram/SourceFiles/window/window_session_controller.cpp +@@ -1,3 +1,4 @@ @@ -9047,7 +9127,7 @@ index 0000000..ce311bb + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_base/base/base_file_utilities.cpp b/Telegram/lib_base/base/base_file_utilities.cpp -+index 640c731..faa0aea 100644 ++index c0f3c66..20ad8f2 100644 +--- a/Telegram/lib_base/base/base_file_utilities.cpp ++++ b/Telegram/lib_base/base/base_file_utilities.cpp +@@ -1,3 +1,4 @@ @@ -9452,7 +9532,7 @@ index 0000000..ce311bb + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_base/base/platform/win/base_info_win.cpp b/Telegram/lib_base/base/platform/win/base_info_win.cpp -+index 741d738..70f6bcd 100644 ++index 331b3ba..ee3d347 100644 +--- a/Telegram/lib_base/base/platform/win/base_info_win.cpp ++++ b/Telegram/lib_base/base/platform/win/base_info_win.cpp +@@ -1,3 +1,4 @@ @@ -9479,7 +9559,7 @@ index 0000000..ce311bb + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_base/base/platform/win/base_network_reachability_win.cpp b/Telegram/lib_base/base/platform/win/base_network_reachability_win.cpp -+index df85a91..74b84e6 100644 ++index 7e87601..126d8b2 100644 +--- a/Telegram/lib_base/base/platform/win/base_network_reachability_win.cpp ++++ b/Telegram/lib_base/base/platform/win/base_network_reachability_win.cpp +@@ -1,3 +1,4 @@ @@ -9677,7 +9757,7 @@ index 0000000..ce311bb + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_spellcheck/spellcheck/spellcheck_highlight_syntax.cpp b/Telegram/lib_spellcheck/spellcheck/spellcheck_highlight_syntax.cpp -+index c8b266d..89e7837 100644 ++index f2a556b..0471fb8 100644 +--- a/Telegram/lib_spellcheck/spellcheck/spellcheck_highlight_syntax.cpp ++++ b/Telegram/lib_spellcheck/spellcheck/spellcheck_highlight_syntax.cpp +@@ -1,3 +1,4 @@ @@ -9912,7 +9992,7 @@ index 0000000..ce311bb + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/click_handler.cpp b/Telegram/lib_ui/ui/click_handler.cpp -+index 4cb8ae2..306a0e0 100644 ++index 3631c54..9248fef 100644 +--- a/Telegram/lib_ui/ui/click_handler.cpp ++++ b/Telegram/lib_ui/ui/click_handler.cpp +@@ -1,3 +1,4 @@ @@ -10092,7 +10172,7 @@ index 0000000..ce311bb + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/emoji_config.cpp b/Telegram/lib_ui/ui/emoji_config.cpp -+index fda3d85..d7e4f62 100644 ++index d720b0d..2370ab3 100644 +--- a/Telegram/lib_ui/ui/emoji_config.cpp ++++ b/Telegram/lib_ui/ui/emoji_config.cpp +@@ -1,3 +1,4 @@ @@ -10101,7 +10181,7 @@ index 0000000..ce311bb + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/gl/gl_detection.cpp b/Telegram/lib_ui/ui/gl/gl_detection.cpp -+index e927ff6..27dbf53 100644 ++index e574b18..eeba5e0 100644 +--- a/Telegram/lib_ui/ui/gl/gl_detection.cpp ++++ b/Telegram/lib_ui/ui/gl/gl_detection.cpp +@@ -1,3 +1,4 @@ @@ -10146,7 +10226,7 @@ index 0000000..ce311bb + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/gl/gl_surface.cpp b/Telegram/lib_ui/ui/gl/gl_surface.cpp -+index bc25970..a6538b0 100644 ++index 7945510..cbfb9a1 100644 +--- a/Telegram/lib_ui/ui/gl/gl_surface.cpp ++++ b/Telegram/lib_ui/ui/gl/gl_surface.cpp +@@ -1,3 +1,4 @@ @@ -10155,7 +10235,7 @@ index 0000000..ce311bb + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/gl/gl_window.cpp b/Telegram/lib_ui/ui/gl/gl_window.cpp -+index 83e2477..8b89bc8 100644 ++index da0a2bc..30dfa66 100644 +--- a/Telegram/lib_ui/ui/gl/gl_window.cpp ++++ b/Telegram/lib_ui/ui/gl/gl_window.cpp +@@ -1,3 +1,4 @@ @@ -10182,7 +10262,7 @@ index 0000000..ce311bb + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/integration.cpp b/Telegram/lib_ui/ui/integration.cpp -+index 32507e2..b09214a 100644 ++index 39deec3..47d6b15 100644 +--- a/Telegram/lib_ui/ui/integration.cpp ++++ b/Telegram/lib_ui/ui/integration.cpp +@@ -1,3 +1,4 @@ @@ -10299,7 +10379,7 @@ index 0000000..ce311bb + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/platform/linux/ui_utility_linux.cpp b/Telegram/lib_ui/ui/platform/linux/ui_utility_linux.cpp -+index 5b83d4d..19f2c4d 100644 ++index 02ada1f..430778a 100644 +--- a/Telegram/lib_ui/ui/platform/linux/ui_utility_linux.cpp ++++ b/Telegram/lib_ui/ui/platform/linux/ui_utility_linux.cpp +@@ -1,3 +1,4 @@ @@ -10326,7 +10406,7 @@ index 0000000..ce311bb + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/platform/ui_platform_window.cpp b/Telegram/lib_ui/ui/platform/ui_platform_window.cpp -+index 66065c1..934056a 100644 ++index a964edb..bf9b192 100644 +--- a/Telegram/lib_ui/ui/platform/ui_platform_window.cpp ++++ b/Telegram/lib_ui/ui/platform/ui_platform_window.cpp +@@ -1,3 +1,4 @@ @@ -10335,7 +10415,7 @@ index 0000000..ce311bb + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/platform/ui_platform_window_title.cpp b/Telegram/lib_ui/ui/platform/ui_platform_window_title.cpp -+index be9f73b..e97af3b 100644 ++index a8dc8da..a81dc0b 100644 +--- a/Telegram/lib_ui/ui/platform/ui_platform_window_title.cpp ++++ b/Telegram/lib_ui/ui/platform/ui_platform_window_title.cpp +@@ -1,3 +1,4 @@ @@ -10344,7 +10424,7 @@ index 0000000..ce311bb + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/platform/win/ui_utility_win.cpp b/Telegram/lib_ui/ui/platform/win/ui_utility_win.cpp -+index 10bef5c..b9eb6ee 100644 ++index e72744f..084c617 100644 +--- a/Telegram/lib_ui/ui/platform/win/ui_utility_win.cpp ++++ b/Telegram/lib_ui/ui/platform/win/ui_utility_win.cpp +@@ -1,3 +1,4 @@ @@ -10353,7 +10433,7 @@ index 0000000..ce311bb + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/platform/win/ui_window_shadow_win.cpp b/Telegram/lib_ui/ui/platform/win/ui_window_shadow_win.cpp -+index ac13488..ea81b44 100644 ++index eed9bb9..6c05f73 100644 +--- a/Telegram/lib_ui/ui/platform/win/ui_window_shadow_win.cpp ++++ b/Telegram/lib_ui/ui/platform/win/ui_window_shadow_win.cpp +@@ -1,3 +1,4 @@ @@ -10362,7 +10442,7 @@ index 0000000..ce311bb + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/platform/win/ui_window_title_win.cpp b/Telegram/lib_ui/ui/platform/win/ui_window_title_win.cpp -+index 3af3285..143da12 100644 ++index cb1d32e..3e249cb 100644 +--- a/Telegram/lib_ui/ui/platform/win/ui_window_title_win.cpp ++++ b/Telegram/lib_ui/ui/platform/win/ui_window_title_win.cpp +@@ -1,3 +1,4 @@ @@ -10371,7 +10451,7 @@ index 0000000..ce311bb + // 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 f177f7c..c4dbac3 100644 ++index 6b06a80..0be82c0 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 @@ @@ -10398,7 +10478,7 @@ index 0000000..ce311bb + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/rp_widget.cpp b/Telegram/lib_ui/ui/rp_widget.cpp -+index 50b8aae..b9a7ad0 100644 ++index d8fa3ec..034e331 100644 +--- a/Telegram/lib_ui/ui/rp_widget.cpp ++++ b/Telegram/lib_ui/ui/rp_widget.cpp +@@ -1,3 +1,4 @@ @@ -10509,7 +10589,7 @@ index 0000000..ce311bb + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/text/text.cpp b/Telegram/lib_ui/ui/text/text.cpp -+index 43bb27b..e79c874 100644 ++index dcf7aa2..4acef0e 100644 +--- a/Telegram/lib_ui/ui/text/text.cpp ++++ b/Telegram/lib_ui/ui/text/text.cpp +@@ -1,3 +1,4 @@ @@ -10527,7 +10607,7 @@ index 0000000..ce311bb + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/text/text_block_parser.cpp b/Telegram/lib_ui/ui/text/text_block_parser.cpp -+index bc815a7..33ecefc 100644 ++index 4d06cc3..037266f 100644 +--- a/Telegram/lib_ui/ui/text/text_block_parser.cpp ++++ b/Telegram/lib_ui/ui/text/text_block_parser.cpp +@@ -1,3 +1,4 @@ @@ -10545,7 +10625,7 @@ index 0000000..ce311bb + // 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 2e0fc10..dc88f35 100644 ++index 8c1e793..f1adc2f 100644 +--- a/Telegram/lib_ui/ui/text/text_entity.cpp ++++ b/Telegram/lib_ui/ui/text/text_entity.cpp +@@ -1,3 +1,4 @@ @@ -10563,7 +10643,7 @@ index 0000000..ce311bb + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/text/text_renderer.cpp b/Telegram/lib_ui/ui/text/text_renderer.cpp -+index 79eb640..3737238 100644 ++index 12ce001..7767c69 100644 +--- a/Telegram/lib_ui/ui/text/text_renderer.cpp ++++ b/Telegram/lib_ui/ui/text/text_renderer.cpp +@@ -1,3 +1,4 @@ @@ -10635,7 +10715,7 @@ index 0000000..ce311bb + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/ui_utility.cpp b/Telegram/lib_ui/ui/ui_utility.cpp -+index 83138b7..a842c72 100644 ++index 62fd650..2f65f54 100644 +--- a/Telegram/lib_ui/ui/ui_utility.cpp ++++ b/Telegram/lib_ui/ui/ui_utility.cpp +@@ -1,3 +1,4 @@ @@ -10644,7 +10724,7 @@ index 0000000..ce311bb + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/widgets/box_content_divider.cpp b/Telegram/lib_ui/ui/widgets/box_content_divider.cpp -+index dcd1b4d..d3427b5 100644 ++index 0e4469b..78e952b 100644 +--- a/Telegram/lib_ui/ui/widgets/box_content_divider.cpp ++++ b/Telegram/lib_ui/ui/widgets/box_content_divider.cpp +@@ -1,3 +1,4 @@ @@ -10653,7 +10733,7 @@ index 0000000..ce311bb + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/widgets/buttons.cpp b/Telegram/lib_ui/ui/widgets/buttons.cpp -+index 8eb2a10..b86e39f 100644 ++index 37071f3..71164ff 100644 +--- a/Telegram/lib_ui/ui/widgets/buttons.cpp ++++ b/Telegram/lib_ui/ui/widgets/buttons.cpp +@@ -1,3 +1,4 @@ @@ -10689,7 +10769,7 @@ index 0000000..ce311bb + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/widgets/elastic_scroll.cpp b/Telegram/lib_ui/ui/widgets/elastic_scroll.cpp -+index 9896f21..e338354 100644 ++index fbb1c78..49f1ffb 100644 +--- a/Telegram/lib_ui/ui/widgets/elastic_scroll.cpp ++++ b/Telegram/lib_ui/ui/widgets/elastic_scroll.cpp +@@ -1,3 +1,4 @@ @@ -10707,7 +10787,7 @@ index 0000000..ce311bb + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/widgets/fields/input_field.cpp b/Telegram/lib_ui/ui/widgets/fields/input_field.cpp -+index 157a1d8..0210a8e 100644 ++index 91b6f5f..25ceae4 100644 +--- a/Telegram/lib_ui/ui/widgets/fields/input_field.cpp ++++ b/Telegram/lib_ui/ui/widgets/fields/input_field.cpp +@@ -1,3 +1,4 @@ @@ -10752,7 +10832,7 @@ index 0000000..ce311bb + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/widgets/fields/time_part_input.cpp b/Telegram/lib_ui/ui/widgets/fields/time_part_input.cpp -+index a2e7b40..3e8bf60 100644 ++index 95bc1d0..98a35b4 100644 +--- a/Telegram/lib_ui/ui/widgets/fields/time_part_input.cpp ++++ b/Telegram/lib_ui/ui/widgets/fields/time_part_input.cpp +@@ -1,3 +1,4 @@ @@ -10779,7 +10859,7 @@ index 0000000..ce311bb + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/widgets/labels.cpp b/Telegram/lib_ui/ui/widgets/labels.cpp -+index 92e5a51..b872ad5 100644 ++index 9d6588b..32433a4 100644 +--- a/Telegram/lib_ui/ui/widgets/labels.cpp ++++ b/Telegram/lib_ui/ui/widgets/labels.cpp +@@ -1,3 +1,4 @@ @@ -10842,7 +10922,7 @@ index 0000000..ce311bb + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/widgets/menu/menu_multiline_action.cpp b/Telegram/lib_ui/ui/widgets/menu/menu_multiline_action.cpp -+index 5b28fe8..7810037 100644 ++index 4e89422..f5852ec 100644 +--- a/Telegram/lib_ui/ui/widgets/menu/menu_multiline_action.cpp ++++ b/Telegram/lib_ui/ui/widgets/menu/menu_multiline_action.cpp +@@ -1,3 +1,4 @@ @@ -10896,7 +10976,7 @@ index 0000000..ce311bb + // 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 80900a9..af30dab 100644 ++index 2f69d39..01ae45b 100644 +--- a/Telegram/lib_ui/ui/widgets/separate_panel.cpp ++++ b/Telegram/lib_ui/ui/widgets/separate_panel.cpp +@@ -1,3 +1,4 @@ @@ -10932,7 +11012,7 @@ index 0000000..ce311bb + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/widgets/tooltip.cpp b/Telegram/lib_ui/ui/widgets/tooltip.cpp -+index 350a5b7..5e8018e 100644 ++index e0902ad..613dbfb 100644 +--- a/Telegram/lib_ui/ui/widgets/tooltip.cpp ++++ b/Telegram/lib_ui/ui/widgets/tooltip.cpp +@@ -1,3 +1,4 @@ @@ -10977,7 +11057,7 @@ index 0000000..ce311bb + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/wrap/table_layout.cpp b/Telegram/lib_ui/ui/wrap/table_layout.cpp -+index efd032c..297aa09 100644 ++index 3a5981f..3bc023b 100644 +--- a/Telegram/lib_ui/ui/wrap/table_layout.cpp ++++ b/Telegram/lib_ui/ui/wrap/table_layout.cpp +@@ -1,3 +1,4 @@ @@ -11013,7 +11093,7 @@ index 0000000..ce311bb + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_webrtc/webrtc/details/webrtc_environment_video_capture.cpp b/Telegram/lib_webrtc/webrtc/details/webrtc_environment_video_capture.cpp -+index 0d01791..caf8da2 100644 ++index 0b38efc..25fe6ac 100644 +--- a/Telegram/lib_webrtc/webrtc/details/webrtc_environment_video_capture.cpp ++++ b/Telegram/lib_webrtc/webrtc/details/webrtc_environment_video_capture.cpp +@@ -1,3 +1,4 @@ @@ -11067,7 +11147,7 @@ index 0000000..ce311bb + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_webrtc/webrtc/webrtc_environment.cpp b/Telegram/lib_webrtc/webrtc/webrtc_environment.cpp -+index 24b8cdf..ca52cec 100644 ++index a1cd3d9..5d6fbab 100644 +--- a/Telegram/lib_webrtc/webrtc/webrtc_environment.cpp ++++ b/Telegram/lib_webrtc/webrtc/webrtc_environment.cpp +@@ -1,3 +1,4 @@ @@ -11076,7 +11156,7 @@ index 0000000..ce311bb + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_webrtc/webrtc/webrtc_video_track.cpp b/Telegram/lib_webrtc/webrtc/webrtc_video_track.cpp -+index c850b8d..31f7ec4 100644 ++index 2bac8b1..d4dc8a1 100644 +--- a/Telegram/lib_webrtc/webrtc/webrtc_video_track.cpp ++++ b/Telegram/lib_webrtc/webrtc/webrtc_video_track.cpp +@@ -1,3 +1,4 @@ diff --git a/net-im/telegram-desktop/patches/telegram_desktop-5.5.5.patchset b/net-im/telegram-desktop/patches/telegram_desktop-5.7.2.patchset similarity index 95% rename from net-im/telegram-desktop/patches/telegram_desktop-5.5.5.patchset rename to net-im/telegram-desktop/patches/telegram_desktop-5.7.2.patchset index 90cd348b9..9a5f21607 100644 --- a/net-im/telegram-desktop/patches/telegram_desktop-5.5.5.patchset +++ b/net-im/telegram-desktop/patches/telegram_desktop-5.7.2.patchset @@ -1,6 +1,6 @@ -From f7b32da6ae799705c42ee11662ac7a488d8e9c24 Mon Sep 17 00:00:00 2001 +From 99e03c823581b4e1e77db26170ddd07a93f8fc2a Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> -Date: Thu, 1 Aug 2024 22:42:14 +1000 +Date: Fri, 15 Nov 2024 23:00:32 +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 83aadae..082cca2 100644 +index 13af508..7bb7170 100644 --- a/Telegram/CMakeLists.txt +++ b/Telegram/CMakeLists.txt @@ -97,6 +97,15 @@ PRIVATE @@ -157,7 +157,7 @@ index 83aadae..082cca2 100644 target_precompile_headers(Telegram PRIVATE $<$:${src_loc}/stdafx.h>) nice_target_sources(Telegram ${src_loc} PRIVATE -@@ -1620,6 +1629,16 @@ if (NOT build_winstore) +@@ -1634,6 +1643,16 @@ if (NOT build_winstore) ) endif() @@ -174,7 +174,7 @@ index 83aadae..082cca2 100644 if (DESKTOP_APP_USE_PACKAGED) remove_target_sources(Telegram ${src_loc} platform/mac/mac_iconv_helper.c -@@ -1783,7 +1802,7 @@ else() +@@ -1797,7 +1816,7 @@ else() set(bundle_identifier "com.tdesktop.Telegram") endif() set(bundle_entitlements "Telegram.entitlements") @@ -204,10 +204,10 @@ 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 06f7475..6c1ba99 100644 +index 3838463..8721099 100644 --- a/Telegram/SourceFiles/core/core_settings.h +++ b/Telegram/SourceFiles/core/core_settings.h -@@ -1005,7 +1005,7 @@ private: +@@ -1030,7 +1030,7 @@ private: rpl::variable _dialogsNoChatWidthRatio; // per-window rpl::variable _thirdColumnWidth = kDefaultThirdColumnWidth; // p-w bool _notifyFromAll = true; @@ -254,6 +254,20 @@ index 4188882..0e0b448 100644 QString commands; const QStringList &lst(cSendPaths()); for (QStringList::const_iterator i = lst.cbegin(), e = lst.cend(); i != e; ++i) { +diff --git a/Telegram/SourceFiles/iv/iv_controller.cpp b/Telegram/SourceFiles/iv/iv_controller.cpp +index bf699ad..c0e6ce9 100644 +--- a/Telegram/SourceFiles/iv/iv_controller.cpp ++++ b/Telegram/SourceFiles/iv/iv_controller.cpp +@@ -49,7 +49,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL + #include + #include + +-#include ++#include "ada.cpp" ++#include "ada.h" + + namespace Iv { + namespace { diff --git a/Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp b/Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp index f314fb0..331db8a 100644 --- a/Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp @@ -307,12 +321,12 @@ index f314fb0..331db8a 100644 } diff --git a/Telegram/SourceFiles/platform/linux/integration_linux.cpp b/Telegram/SourceFiles/platform/linux/integration_linux.cpp -index 147a9f0..111b33f 100644 +index e048a2d..508199a 100644 --- a/Telegram/SourceFiles/platform/linux/integration_linux.cpp +++ b/Telegram/SourceFiles/platform/linux/integration_linux.cpp -@@ -18,12 +18,18 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL - +@@ -19,12 +19,18 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include + #include +#ifndef Q_OS_HAIKU #include @@ -329,7 +343,7 @@ index 147a9f0..111b33f 100644 using namespace gi::repository; namespace GObject = gi::repository::GObject; -@@ -286,7 +292,7 @@ void LinuxIntegration::initInhibit() { +@@ -317,7 +323,7 @@ void LinuxIntegration::initInhibit() { }), nullptr); } @@ -681,7 +695,7 @@ index 0000000..21935f0 +} // namespace Notifications +} // namespace Platform diff --git a/Telegram/SourceFiles/platform/linux/specific_linux.cpp b/Telegram/SourceFiles/platform/linux/specific_linux.cpp -index b49cef3..02f9e05 100644 +index d4b438a..18eab54 100644 --- a/Telegram/SourceFiles/platform/linux/specific_linux.cpp +++ b/Telegram/SourceFiles/platform/linux/specific_linux.cpp @@ -28,6 +28,10 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL @@ -729,7 +743,7 @@ index b49cef3..02f9e05 100644 using namespace gi::repository; namespace GObject = gi::repository::GObject; -@@ -551,6 +582,10 @@ bool AutostartSupported() { +@@ -545,6 +576,10 @@ bool AutostartSupported() { } void AutostartToggle(bool enabled, Fn done) { @@ -740,7 +754,7 @@ index b49cef3..02f9e05 100644 if (KSandbox::isFlatpak()) { PortalAutostart(enabled, done); return; -@@ -578,6 +613,7 @@ void AutostartToggle(bool enabled, Fn done) { +@@ -572,6 +607,7 @@ void AutostartToggle(bool enabled, Fn done) { if (done) { done(enabled && success); } @@ -748,7 +762,7 @@ index b49cef3..02f9e05 100644 } bool AutostartSkip() { -@@ -639,7 +675,11 @@ QString psAppDataPath() { +@@ -633,7 +669,11 @@ QString psAppDataPath() { } } @@ -760,7 +774,7 @@ index b49cef3..02f9e05 100644 } void psDoCleanup() { -@@ -749,6 +789,7 @@ bool OpenSystemSettings(SystemSettingsType type) { +@@ -743,6 +783,7 @@ bool OpenSystemSettings(SystemSettingsType type) { } options.push_back(std::move(command)); }; @@ -768,7 +782,7 @@ index b49cef3..02f9e05 100644 add("unity-control-center", "sound"); add("kcmshell6", "kcm_pulseaudio"); add("kcmshell5", "kcm_pulseaudio"); -@@ -758,7 +799,7 @@ bool OpenSystemSettings(SystemSettingsType type) { +@@ -752,7 +793,7 @@ bool OpenSystemSettings(SystemSettingsType type) { add("mate-volume-control"); add("pavucontrol-qt"); add("pavucontrol"); @@ -825,6 +839,18 @@ index 489d8c6..74c82c1 100644 _threads->getWorkerThread()->BlockingCall([&] { SetAudioInputDeviceById(_audioDeviceModule.get(), id); }); +diff --git a/Telegram/cmake/td_iv.cmake b/Telegram/cmake/td_iv.cmake +index 1d4edf9..602abf4 100644 +--- a/Telegram/cmake/td_iv.cmake ++++ b/Telegram/cmake/td_iv.cmake +@@ -38,7 +38,6 @@ PUBLIC + tdesktop::td_scheme + PRIVATE + desktop-app::lib_webview +- desktop-app::external_ada + tdesktop::td_lang + tdesktop::td_ui + ) diff --git a/Telegram/lib_base/base/haiku_types.h b/Telegram/lib_base/base/haiku_types.h new file mode 100644 index 0000000..3a57ce2 @@ -1059,7 +1085,7 @@ index efbfb72..9c82321 100644 #include "nnet_language_identifier.h" diff --git a/Telegram/lib_ui/ui/ui_utility.cpp b/Telegram/lib_ui/ui/ui_utility.cpp -index 5173f25..83138b7 100644 +index 6cb3ff9..62fd650 100644 --- a/Telegram/lib_ui/ui/ui_utility.cpp +++ b/Telegram/lib_ui/ui/ui_utility.cpp @@ -10,6 +10,10 @@ @@ -1120,10 +1146,34 @@ index d4c3f30..22fb3d6 100644 #include "webrtc/webrtc_audio_input_tester.h" #include "webrtc/webrtc_device_common.h" +diff --git a/Telegram/lib_webview/webview/platform/linux/webview_linux_webkitgtk_library.cpp b/Telegram/lib_webview/webview/platform/linux/webview_linux_webkitgtk_library.cpp +index c85e18c..700751b 100644 +--- a/Telegram/lib_webview/webview/platform/linux/webview_linux_webkitgtk_library.cpp ++++ b/Telegram/lib_webview/webview/platform/linux/webview_linux_webkitgtk_library.cpp +@@ -8,6 +8,10 @@ + + #include "base/platform/linux/base_linux_library.h" + ++#ifdef __HAIKU__ ++#define RTLD_NODELETE 0 ++#endif ++ + namespace Webview::WebKitGTK::Library { + + ResolveResult Resolve(bool wayland) { diff --git a/cmake/external/CMakeLists.txt b/cmake/external/CMakeLists.txt -index ea4b8bf..2ba72a6 100644 +index 58f2503..65dbe67 100644 --- a/cmake/external/CMakeLists.txt +++ b/cmake/external/CMakeLists.txt +@@ -11,7 +11,7 @@ macro(add_checked_subdirectory name) + endif() + endmacro() + +-add_checked_subdirectory(ada) ++#add_checked_subdirectory(ada) + add_checked_subdirectory(angle) + add_checked_subdirectory(auto_updates) + add_checked_subdirectory(boost) @@ -19,7 +19,7 @@ if (add_cld3_library) add_checked_subdirectory(cld3) endif() @@ -1136,52 +1186,3 @@ index ea4b8bf..2ba72a6 100644 -- 2.45.2 - -From 73d33c885a0d8cc698b6c378a7950399e478975f Mon Sep 17 00:00:00 2001 -From: Gerasim Troeglazov <3dEyes@gmail.com> -Date: Fri, 2 Aug 2024 23:06:18 +1000 -Subject: Use singleheader ada library - - -diff --git a/Telegram/SourceFiles/iv/iv_controller.cpp b/Telegram/SourceFiles/iv/iv_controller.cpp -index b864833..88da067 100644 ---- a/Telegram/SourceFiles/iv/iv_controller.cpp -+++ b/Telegram/SourceFiles/iv/iv_controller.cpp -@@ -45,7 +45,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL - #include - #include - --#include -+#include "ada.cpp" -+#include "ada.h" - - namespace Iv { - namespace { -diff --git a/Telegram/cmake/td_iv.cmake b/Telegram/cmake/td_iv.cmake -index 1d4edf9..602abf4 100644 ---- a/Telegram/cmake/td_iv.cmake -+++ b/Telegram/cmake/td_iv.cmake -@@ -38,7 +38,6 @@ PUBLIC - tdesktop::td_scheme - PRIVATE - desktop-app::lib_webview -- desktop-app::external_ada - tdesktop::td_lang - tdesktop::td_ui - ) -diff --git a/cmake/external/CMakeLists.txt b/cmake/external/CMakeLists.txt -index 2ba72a6..9e30578 100644 ---- a/cmake/external/CMakeLists.txt -+++ b/cmake/external/CMakeLists.txt -@@ -11,7 +11,7 @@ macro(add_checked_subdirectory name) - endif() - endmacro() - --add_checked_subdirectory(ada) -+#add_checked_subdirectory(ada) - add_checked_subdirectory(angle) - add_checked_subdirectory(auto_updates) - add_checked_subdirectory(boost) --- -2.45.2 - diff --git a/net-im/telegram-desktop/telegram_desktop-5.5.5.recipe b/net-im/telegram-desktop/telegram_desktop-5.7.2.recipe similarity index 97% rename from net-im/telegram-desktop/telegram_desktop-5.5.5.recipe rename to net-im/telegram-desktop/telegram_desktop-5.7.2.recipe index f4746e834..3b8b7e558 100644 --- a/net-im/telegram-desktop/telegram_desktop-5.5.5.recipe +++ b/net-im/telegram-desktop/telegram_desktop-5.7.2.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="dc620831d16af9ee970325e32d689ff3272a7d2aa1966a3e2a1b87513c6f23eb" +CHECKSUM_SHA256="3442e28e01d937376e687615e3ee13fb580788c4deb7561b410522ce3452fdef" 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" @@ -143,11 +143,13 @@ BUILD() export DISABLE_ASLR=1 export GI_GIR_PATH="`finddir B_SYSTEM_DATA_DIRECTORY`"/gir-1.0 local DISABLE_PRECOMPILE_HEADERS="OFF" + local CXX_FLAGS_RELEASE="-O3" if [ $targetArchitecture == x86_gcc2 ]; then 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" fi # copy ada library files @@ -171,6 +173,7 @@ BUILD() cmake -S . -B build -G Ninja \ -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_CXX_FLAGS_RELEASE=$CXX_FLAGS_RELEASE \ -DCMAKE_DISABLE_PRECOMPILE_HEADERS=$DISABLE_PRECOMPILE_HEADERS \ -DBoost_USE_STATIC_LIBS=OFF \ -DBUILD_SHARED_LIBS=ON \