diff --git a/net-im/telegram-desktop/patches/libtgvoip-4.16.6.patchset b/net-im/telegram-desktop/patches/libtgvoip-5.0.1.patchset similarity index 99% rename from net-im/telegram-desktop/patches/libtgvoip-4.16.6.patchset rename to net-im/telegram-desktop/patches/libtgvoip-5.0.1.patchset index 01b796697..e4858bd27 100644 --- a/net-im/telegram-desktop/patches/libtgvoip-4.16.6.patchset +++ b/net-im/telegram-desktop/patches/libtgvoip-5.0.1.patchset @@ -1,6 +1,6 @@ -From 96b4ead8a0059b6d4f80a9ccd2293e0f4710412b Mon Sep 17 00:00:00 2001 +From b93338ef2551f9fdc2268756613cf167c95e4ccc Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> -Date: Wed, 10 Apr 2024 18:48:02 +1000 +Date: Sun, 5 May 2024 20:34:48 +1000 Subject: Add haiku support diff --git a/net-im/telegram-desktop/patches/pch_disable-4.16.6.patchset b/net-im/telegram-desktop/patches/pch_disable-5.0.1.patchset similarity index 98% rename from net-im/telegram-desktop/patches/pch_disable-4.16.6.patchset rename to net-im/telegram-desktop/patches/pch_disable-5.0.1.patchset index cdb2e0c93..c1f032344 100644 --- a/net-im/telegram-desktop/patches/pch_disable-4.16.6.patchset +++ b/net-im/telegram-desktop/patches/pch_disable-5.0.1.patchset @@ -1,15 +1,15 @@ -From 638610f31eceac4121ac8bbfa8ef59d1f7d9a8ff Mon Sep 17 00:00:00 2001 +From f32dc8ceed8ed4c1933399db61f6f422028adf48 Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> -Date: Mon, 15 Apr 2024 09:32:34 +0000 +Date: Mon, 6 May 2024 12:08:19 +0000 Subject: Add PCH file diff --git a/pch_disable.patchset b/pch_disable.patchset new file mode 100644 -index 0000000..03d6fc5 +index 0000000..3a18828 --- /dev/null +++ b/pch_disable.patchset -@@ -0,0 +1,10630 @@ +@@ -0,0 +1,10643 @@ +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..03d6fc5 + 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 706b7a7..b50d382 100644 ++index 0284ae7..2e936e3 100644 +--- a/Telegram/SourceFiles/api/api_bot.cpp ++++ b/Telegram/SourceFiles/api/api_bot.cpp +@@ -1,3 +1,4 @@ @@ -74,7 +74,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/api/api_chat_participants.cpp b/Telegram/SourceFiles/api/api_chat_participants.cpp -+index 6761d2f..34b807b 100644 ++index a4cd0c3..fc6dd87 100644 +--- a/Telegram/SourceFiles/api/api_chat_participants.cpp ++++ b/Telegram/SourceFiles/api/api_chat_participants.cpp +@@ -1,3 +1,4 @@ @@ -101,7 +101,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/api/api_confirm_phone.cpp b/Telegram/SourceFiles/api/api_confirm_phone.cpp -+index 0dd1ae9..d409e65 100644 ++index f4788e1..08e2851 100644 +--- a/Telegram/SourceFiles/api/api_confirm_phone.cpp ++++ b/Telegram/SourceFiles/api/api_confirm_phone.cpp +@@ -1,3 +1,4 @@ @@ -110,7 +110,7 @@ index 0000000..03d6fc5 + 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 e8f38e0..39aad8d 100644 ++index d6425ef..eaeb58a 100644 +--- a/Telegram/SourceFiles/api/api_earn.cpp ++++ b/Telegram/SourceFiles/api/api_earn.cpp +@@ -1,3 +1,4 @@ @@ -119,7 +119,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/api/api_editing.cpp b/Telegram/SourceFiles/api/api_editing.cpp -+index 84f0cbf..3462ae4 100644 ++index f91a735..a142e38 100644 +--- a/Telegram/SourceFiles/api/api_editing.cpp ++++ b/Telegram/SourceFiles/api/api_editing.cpp +@@ -1,3 +1,4 @@ @@ -209,7 +209,7 @@ index 0000000..03d6fc5 + 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 5257feb..8754a2b 100644 ++index 6ff4aa1..d2b3461 100644 +--- a/Telegram/SourceFiles/api/api_premium.cpp ++++ b/Telegram/SourceFiles/api/api_premium.cpp +@@ -1,3 +1,4 @@ @@ -290,7 +290,7 @@ index 0000000..03d6fc5 + 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 9bc31c4..0b8be86 100644 ++index ce19666..34f60d9 100644 +--- a/Telegram/SourceFiles/api/api_statistics.cpp ++++ b/Telegram/SourceFiles/api/api_statistics.cpp +@@ -1,3 +1,4 @@ @@ -335,7 +335,7 @@ index 0000000..03d6fc5 + 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 c9c0007..70535a1 100644 ++index 314e6c8..7d2be64 100644 +--- a/Telegram/SourceFiles/api/api_updates.cpp ++++ b/Telegram/SourceFiles/api/api_updates.cpp +@@ -1,3 +1,4 @@ @@ -353,7 +353,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/api/api_user_privacy.cpp b/Telegram/SourceFiles/api/api_user_privacy.cpp -+index b27580a..3de7bd1 100644 ++index d0c17fa..935a5c7 100644 +--- a/Telegram/SourceFiles/api/api_user_privacy.cpp ++++ b/Telegram/SourceFiles/api/api_user_privacy.cpp +@@ -1,3 +1,4 @@ @@ -389,7 +389,7 @@ index 0000000..03d6fc5 + 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 b891961..c6c7729 100644 ++index aeed9e1..984980d 100644 +--- a/Telegram/SourceFiles/apiwrap.cpp ++++ b/Telegram/SourceFiles/apiwrap.cpp +@@ -1,3 +1,4 @@ @@ -428,7 +428,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/add_contact_box.cpp b/Telegram/SourceFiles/boxes/add_contact_box.cpp -+index ba35e8d..73f3fe6 100644 ++index 45d4b1e..b36342d 100644 +--- a/Telegram/SourceFiles/boxes/add_contact_box.cpp ++++ b/Telegram/SourceFiles/boxes/add_contact_box.cpp +@@ -1,3 +1,5 @@ @@ -468,7 +468,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/background_preview_box.cpp b/Telegram/SourceFiles/boxes/background_preview_box.cpp -+index a112c47..63ddaaf 100644 ++index 828b2d0..be804b4 100644 +--- a/Telegram/SourceFiles/boxes/background_preview_box.cpp ++++ b/Telegram/SourceFiles/boxes/background_preview_box.cpp +@@ -1,3 +1,5 @@ @@ -498,7 +498,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/create_poll_box.cpp b/Telegram/SourceFiles/boxes/create_poll_box.cpp -+index 373899b..3937162 100644 ++index 1d02b5e..c9221a5 100644 +--- a/Telegram/SourceFiles/boxes/create_poll_box.cpp ++++ b/Telegram/SourceFiles/boxes/create_poll_box.cpp +@@ -1,3 +1,5 @@ @@ -508,7 +508,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/delete_messages_box.cpp b/Telegram/SourceFiles/boxes/delete_messages_box.cpp -+index 0a939ac..84f9d1b 100644 ++index 247cad6..00ed126 100644 +--- a/Telegram/SourceFiles/boxes/delete_messages_box.cpp ++++ b/Telegram/SourceFiles/boxes/delete_messages_box.cpp +@@ -1,3 +1,5 @@ @@ -600,7 +600,7 @@ index 0000000..03d6fc5 + 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 b107af7..4574555 100644 ++index 10ad940..a0c5bfb 100644 +--- a/Telegram/SourceFiles/boxes/gift_premium_box.cpp ++++ b/Telegram/SourceFiles/boxes/gift_premium_box.cpp +@@ -1,3 +1,5 @@ @@ -639,8 +639,18 @@ index 0000000..03d6fc5 + /* + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. ++diff --git a/Telegram/SourceFiles/boxes/moderate_messages_box.cpp b/Telegram/SourceFiles/boxes/moderate_messages_box.cpp ++index 22d234e..bfe25fe 100644 ++--- a/Telegram/SourceFiles/boxes/moderate_messages_box.cpp +++++ b/Telegram/SourceFiles/boxes/moderate_messages_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/passcode_box.cpp b/Telegram/SourceFiles/boxes/passcode_box.cpp -+index e320b43..63a3005 100644 ++index 840e487..c53c3e8 100644 +--- a/Telegram/SourceFiles/boxes/passcode_box.cpp ++++ b/Telegram/SourceFiles/boxes/passcode_box.cpp +@@ -1,3 +1,5 @@ @@ -650,7 +660,7 @@ index 0000000..03d6fc5 + 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 bda06d5..a3cb6ab 100644 ++index 7aa48aa..24abbc8 100644 +--- a/Telegram/SourceFiles/boxes/peer_list_box.cpp ++++ b/Telegram/SourceFiles/boxes/peer_list_box.cpp +@@ -1,3 +1,5 @@ @@ -756,7 +766,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/peers/edit_participant_box.cpp b/Telegram/SourceFiles/boxes/peers/edit_participant_box.cpp -+index c1c086a..0ecc49e 100644 ++index 39389d1..363b456 100644 +--- a/Telegram/SourceFiles/boxes/peers/edit_participant_box.cpp ++++ b/Telegram/SourceFiles/boxes/peers/edit_participant_box.cpp +@@ -1,3 +1,6 @@ @@ -767,7 +777,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/peers/edit_participants_box.cpp b/Telegram/SourceFiles/boxes/peers/edit_participants_box.cpp -+index 7254270..a1b48b4 100644 ++index 88a3490..13a9428 100644 +--- a/Telegram/SourceFiles/boxes/peers/edit_participants_box.cpp ++++ b/Telegram/SourceFiles/boxes/peers/edit_participants_box.cpp +@@ -1,3 +1,6 @@ @@ -778,7 +788,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/peers/edit_peer_color_box.cpp b/Telegram/SourceFiles/boxes/peers/edit_peer_color_box.cpp -+index 018d079..af64bc2 100644 ++index 09b5d27..bff2e25 100644 +--- a/Telegram/SourceFiles/boxes/peers/edit_peer_color_box.cpp ++++ b/Telegram/SourceFiles/boxes/peers/edit_peer_color_box.cpp +@@ -1,3 +1,6 @@ @@ -789,7 +799,7 @@ index 0000000..03d6fc5 + 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_history_visibility_box.cpp b/Telegram/SourceFiles/boxes/peers/edit_peer_history_visibility_box.cpp -+index 9086dfc..5f75454 100644 ++index 8883ad0..e41cb21 100644 +--- a/Telegram/SourceFiles/boxes/peers/edit_peer_history_visibility_box.cpp ++++ b/Telegram/SourceFiles/boxes/peers/edit_peer_history_visibility_box.cpp +@@ -1,3 +1,5 @@ @@ -799,7 +809,7 @@ index 0000000..03d6fc5 + 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 31faabe..51d41f4 100644 ++index f732c79..e8676ef 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 @@ @@ -810,7 +820,7 @@ index 0000000..03d6fc5 + 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 7b80e26..fbf5b03 100644 ++index 8f67b6b..36cd99f 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 @@ @@ -843,7 +853,7 @@ index 0000000..03d6fc5 + 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_reactions.cpp b/Telegram/SourceFiles/boxes/peers/edit_peer_reactions.cpp -+index fddad6f..07fc4cf 100644 ++index 0873426..f7021b9 100644 +--- a/Telegram/SourceFiles/boxes/peers/edit_peer_reactions.cpp ++++ b/Telegram/SourceFiles/boxes/peers/edit_peer_reactions.cpp +@@ -1,3 +1,6 @@ @@ -950,7 +960,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/premium_preview_box.cpp b/Telegram/SourceFiles/boxes/premium_preview_box.cpp -+index 67e402d..ec707d1 100644 ++index 30f3127..0c810ec 100644 +--- a/Telegram/SourceFiles/boxes/premium_preview_box.cpp ++++ b/Telegram/SourceFiles/boxes/premium_preview_box.cpp +@@ -1,3 +1,5 @@ @@ -980,7 +990,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/ringtones_box.cpp b/Telegram/SourceFiles/boxes/ringtones_box.cpp -+index d809722..e17ca02 100644 ++index 4c299c1..c3a0c14 100644 +--- a/Telegram/SourceFiles/boxes/ringtones_box.cpp ++++ b/Telegram/SourceFiles/boxes/ringtones_box.cpp +@@ -1,3 +1,5 @@ @@ -1020,7 +1030,7 @@ index 0000000..03d6fc5 + 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 4581fac..1c509c2 100644 ++index 32ec893..628f448 100644 +--- a/Telegram/SourceFiles/boxes/share_box.cpp ++++ b/Telegram/SourceFiles/boxes/share_box.cpp +@@ -1,3 +1,5 @@ @@ -1030,7 +1040,7 @@ index 0000000..03d6fc5 + 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 414f098..b4cb2d4 100644 ++index ac45551..6c01036 100644 +--- a/Telegram/SourceFiles/boxes/sticker_set_box.cpp ++++ b/Telegram/SourceFiles/boxes/sticker_set_box.cpp +@@ -1,3 +1,5 @@ @@ -1089,7 +1099,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/calls/calls_call.cpp b/Telegram/SourceFiles/calls/calls_call.cpp -+index 3f6c2a7..5dd1a91 100644 ++index 5278393..25c4e6b 100644 +--- a/Telegram/SourceFiles/calls/calls_call.cpp ++++ b/Telegram/SourceFiles/calls/calls_call.cpp +@@ -1,3 +1,4 @@ @@ -1152,7 +1162,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/calls/calls_top_bar.cpp b/Telegram/SourceFiles/calls/calls_top_bar.cpp -+index 6a33145..b2f25aa 100644 ++index dea58fd..a9ce333 100644 +--- a/Telegram/SourceFiles/calls/calls_top_bar.cpp ++++ b/Telegram/SourceFiles/calls/calls_top_bar.cpp +@@ -1,3 +1,4 @@ @@ -1332,7 +1342,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/calls/group/calls_volume_item.cpp b/Telegram/SourceFiles/calls/group/calls_volume_item.cpp -+index 5942a97..1bf221e 100644 ++index d34a510..1de19d2 100644 +--- a/Telegram/SourceFiles/calls/group/calls_volume_item.cpp ++++ b/Telegram/SourceFiles/calls/group/calls_volume_item.cpp +@@ -1,3 +1,4 @@ @@ -1341,7 +1351,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/calls/group/ui/calls_group_recording_box.cpp b/Telegram/SourceFiles/calls/group/ui/calls_group_recording_box.cpp -+index 30a492a..de209d3 100644 ++index 513fa20..402c95f 100644 +--- a/Telegram/SourceFiles/calls/group/ui/calls_group_recording_box.cpp ++++ b/Telegram/SourceFiles/calls/group/ui/calls_group_recording_box.cpp +@@ -1,3 +1,4 @@ @@ -1413,7 +1423,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/chat_helpers/emoji_list_widget.cpp b/Telegram/SourceFiles/chat_helpers/emoji_list_widget.cpp -+index ac8b6f1..4e5f48b 100644 ++index 2157e91..1e30159 100644 +--- a/Telegram/SourceFiles/chat_helpers/emoji_list_widget.cpp ++++ b/Telegram/SourceFiles/chat_helpers/emoji_list_widget.cpp +@@ -1,3 +1,4 @@ @@ -1431,7 +1441,7 @@ index 0000000..03d6fc5 + 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 f6c54ec..26d7c39 100644 ++index 2238700..060c681 100644 +--- a/Telegram/SourceFiles/chat_helpers/emoji_suggestions_widget.cpp ++++ b/Telegram/SourceFiles/chat_helpers/emoji_suggestions_widget.cpp +@@ -1,3 +1,4 @@ @@ -1440,7 +1450,7 @@ index 0000000..03d6fc5 + 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 e82ab9b..42fa34f 100644 ++index 20f32f6..e40c034 100644 +--- a/Telegram/SourceFiles/chat_helpers/field_autocomplete.cpp ++++ b/Telegram/SourceFiles/chat_helpers/field_autocomplete.cpp +@@ -1,3 +1,4 @@ @@ -1458,7 +1468,7 @@ index 0000000..03d6fc5 + 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 13cfda8..4945954 100644 ++index 609f219..6e3ddb6 100644 +--- a/Telegram/SourceFiles/chat_helpers/gifs_list_widget.cpp ++++ b/Telegram/SourceFiles/chat_helpers/gifs_list_widget.cpp +@@ -1,3 +1,4 @@ @@ -1539,7 +1549,7 @@ index 0000000..03d6fc5 + 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 a6a52f4..26cea78 100644 ++index e44b8aa..cd8394e 100644 +--- a/Telegram/SourceFiles/chat_helpers/stickers_list_widget.cpp ++++ b/Telegram/SourceFiles/chat_helpers/stickers_list_widget.cpp +@@ -1,3 +1,4 @@ @@ -1575,7 +1585,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/chat_helpers/tabbed_selector.cpp b/Telegram/SourceFiles/chat_helpers/tabbed_selector.cpp -+index 5b32ea1..cefa848 100644 ++index 7de254b..c0b865a 100644 +--- a/Telegram/SourceFiles/chat_helpers/tabbed_selector.cpp ++++ b/Telegram/SourceFiles/chat_helpers/tabbed_selector.cpp +@@ -1,3 +1,4 @@ @@ -1584,7 +1594,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/chat_helpers/ttl_media_layer_widget.cpp b/Telegram/SourceFiles/chat_helpers/ttl_media_layer_widget.cpp -+index f2445a1..afc2ed6 100644 ++index d2e2e94..a28fda1 100644 +--- a/Telegram/SourceFiles/chat_helpers/ttl_media_layer_widget.cpp ++++ b/Telegram/SourceFiles/chat_helpers/ttl_media_layer_widget.cpp +@@ -1,3 +1,4 @@ @@ -1593,7 +1603,7 @@ index 0000000..03d6fc5 + 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 3f643b6..08b486b 100644 ++index 5557eb5..e1ffdff 100644 +--- a/Telegram/SourceFiles/core/application.cpp ++++ b/Telegram/SourceFiles/core/application.cpp +@@ -1,3 +1,5 @@ @@ -1633,7 +1643,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/core/core_cloud_password.cpp b/Telegram/SourceFiles/core/core_cloud_password.cpp -+index 3a65f24..534bd60 100644 ++index a835112..73a3a51 100644 +--- a/Telegram/SourceFiles/core/core_cloud_password.cpp ++++ b/Telegram/SourceFiles/core/core_cloud_password.cpp +@@ -1,3 +1,5 @@ @@ -1643,7 +1653,7 @@ index 0000000..03d6fc5 + 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 b4f7708..261fecd 100644 ++index 939f4d0..1fff346 100644 +--- a/Telegram/SourceFiles/core/core_settings.cpp ++++ b/Telegram/SourceFiles/core/core_settings.cpp +@@ -1,3 +1,5 @@ @@ -1653,7 +1663,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/core/core_settings_proxy.cpp b/Telegram/SourceFiles/core/core_settings_proxy.cpp -+index b219f4f..b8abd9a 100644 ++index 1807aa2..cbf9248 100644 +--- a/Telegram/SourceFiles/core/core_settings_proxy.cpp ++++ b/Telegram/SourceFiles/core/core_settings_proxy.cpp +@@ -1,3 +1,5 @@ @@ -1663,7 +1673,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/core/crash_report_window.cpp b/Telegram/SourceFiles/core/crash_report_window.cpp -+index 41bacf4..91be55b 100644 ++index b73c12a..d7b33f0 100644 +--- a/Telegram/SourceFiles/core/crash_report_window.cpp ++++ b/Telegram/SourceFiles/core/crash_report_window.cpp +@@ -1,3 +1,5 @@ @@ -1702,7 +1712,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/core/launcher.cpp b/Telegram/SourceFiles/core/launcher.cpp -+index 2765fe3..7bcbbe3 100644 ++index 0b6afb7..3fb3103 100644 +--- a/Telegram/SourceFiles/core/launcher.cpp ++++ b/Telegram/SourceFiles/core/launcher.cpp +@@ -1,3 +1,5 @@ @@ -1722,7 +1732,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/core/mime_type.cpp b/Telegram/SourceFiles/core/mime_type.cpp -+index 8ba1b64..ec32e86 100644 ++index cc1c14c..4f93bb3 100644 +--- a/Telegram/SourceFiles/core/mime_type.cpp ++++ b/Telegram/SourceFiles/core/mime_type.cpp +@@ -1,3 +1,4 @@ @@ -1731,7 +1741,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/core/sandbox.cpp b/Telegram/SourceFiles/core/sandbox.cpp -+index 38f5f23..bceb262 100644 ++index 0876c08..9e338d3 100644 +--- a/Telegram/SourceFiles/core/sandbox.cpp ++++ b/Telegram/SourceFiles/core/sandbox.cpp +@@ -1,3 +1,5 @@ @@ -1741,7 +1751,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/core/shortcuts.cpp b/Telegram/SourceFiles/core/shortcuts.cpp -+index 270785f..02d20c3 100644 ++index 8c0727d..53713d8 100644 +--- a/Telegram/SourceFiles/core/shortcuts.cpp ++++ b/Telegram/SourceFiles/core/shortcuts.cpp +@@ -1,3 +1,5 @@ @@ -1751,7 +1761,7 @@ index 0000000..03d6fc5 + 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 6de0c75..0fa27d1 100644 ++index c1ef63e..3bbb83e 100644 +--- a/Telegram/SourceFiles/core/ui_integration.cpp ++++ b/Telegram/SourceFiles/core/ui_integration.cpp +@@ -1,3 +1,5 @@ @@ -1771,7 +1781,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/core/utils.cpp b/Telegram/SourceFiles/core/utils.cpp -+index c82c7ed..946cd6c 100644 ++index c4d0b76..565a7e3 100644 +--- a/Telegram/SourceFiles/core/utils.cpp ++++ b/Telegram/SourceFiles/core/utils.cpp +@@ -1,3 +1,5 @@ @@ -1839,6 +1849,46 @@ index 0000000..03d6fc5 + /* + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. ++diff --git a/Telegram/SourceFiles/data/components/recent_peers.cpp b/Telegram/SourceFiles/data/components/recent_peers.cpp ++index 1c19578..ae3860a 100644 ++--- a/Telegram/SourceFiles/data/components/recent_peers.cpp +++++ b/Telegram/SourceFiles/data/components/recent_peers.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/components/scheduled_messages.cpp b/Telegram/SourceFiles/data/components/scheduled_messages.cpp ++index 92e0da8..f8de8a5 100644 ++--- a/Telegram/SourceFiles/data/components/scheduled_messages.cpp +++++ b/Telegram/SourceFiles/data/components/scheduled_messages.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/components/sponsored_messages.cpp b/Telegram/SourceFiles/data/components/sponsored_messages.cpp ++index 4cb54fc..005d87a 100644 ++--- a/Telegram/SourceFiles/data/components/sponsored_messages.cpp +++++ b/Telegram/SourceFiles/data/components/sponsored_messages.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/components/top_peers.cpp b/Telegram/SourceFiles/data/components/top_peers.cpp ++index f476869..49ba390 100644 ++--- a/Telegram/SourceFiles/data/components/top_peers.cpp +++++ b/Telegram/SourceFiles/data/components/top_peers.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_abstract_structure.cpp b/Telegram/SourceFiles/data/data_abstract_structure.cpp +index aa02c91..cde7f74 100644 +--- a/Telegram/SourceFiles/data/data_abstract_structure.cpp @@ -1917,7 +1967,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_channel.cpp b/Telegram/SourceFiles/data/data_channel.cpp -+index b088be2..f9356f7 100644 ++index 2ba8346..9cc04c2 100644 +--- a/Telegram/SourceFiles/data/data_channel.cpp ++++ b/Telegram/SourceFiles/data/data_channel.cpp +@@ -1,3 +1,5 @@ @@ -1937,7 +1987,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_chat.cpp b/Telegram/SourceFiles/data/data_chat.cpp -+index 1e19a00..92cbef2 100644 ++index 76aa1f7..7ba8dc0 100644 +--- a/Telegram/SourceFiles/data/data_chat.cpp ++++ b/Telegram/SourceFiles/data/data_chat.cpp +@@ -1,3 +1,5 @@ @@ -1967,7 +2017,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_cloud_file.cpp b/Telegram/SourceFiles/data/data_cloud_file.cpp -+index bee9035..7ee0a62 100644 ++index 526dd89..dcd9b54 100644 +--- a/Telegram/SourceFiles/data/data_cloud_file.cpp ++++ b/Telegram/SourceFiles/data/data_cloud_file.cpp +@@ -1,3 +1,5 @@ @@ -1987,7 +2037,7 @@ index 0000000..03d6fc5 + 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 afe91b8..f1490e9 100644 ++index 9c25a78..8cc6325 100644 +--- a/Telegram/SourceFiles/data/data_document.cpp ++++ b/Telegram/SourceFiles/data/data_document.cpp +@@ -1,3 +1,5 @@ @@ -1997,7 +2047,7 @@ index 0000000..03d6fc5 + 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 c33c9cb..d8c684c 100644 ++index 47237b3..28271da 100644 +--- a/Telegram/SourceFiles/data/data_document.h ++++ b/Telegram/SourceFiles/data/data_document.h +@@ -1,3 +1,4 @@ @@ -2006,7 +2056,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_document_media.cpp b/Telegram/SourceFiles/data/data_document_media.cpp -+index 101f0f8..c7402d8 100644 ++index e610303..5bd9434 100644 +--- a/Telegram/SourceFiles/data/data_document_media.cpp ++++ b/Telegram/SourceFiles/data/data_document_media.cpp +@@ -1,3 +1,5 @@ @@ -2016,7 +2066,7 @@ index 0000000..03d6fc5 + 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 8ab5025..313d429 100644 ++index 575d695..b023910 100644 +--- a/Telegram/SourceFiles/data/data_document_resolver.cpp ++++ b/Telegram/SourceFiles/data/data_document_resolver.cpp +@@ -1,3 +1,5 @@ @@ -2036,7 +2086,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_drafts.cpp b/Telegram/SourceFiles/data/data_drafts.cpp -+index e0ebb77..b530980 100644 ++index 1bd7135..496275b 100644 +--- a/Telegram/SourceFiles/data/data_drafts.cpp ++++ b/Telegram/SourceFiles/data/data_drafts.cpp +@@ -1,3 +1,5 @@ @@ -2046,7 +2096,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_emoji_statuses.cpp b/Telegram/SourceFiles/data/data_emoji_statuses.cpp -+index dd1ad58..bb37a3c 100644 ++index e00dd89..02d13d8 100644 +--- a/Telegram/SourceFiles/data/data_emoji_statuses.cpp ++++ b/Telegram/SourceFiles/data/data_emoji_statuses.cpp +@@ -1,3 +1,5 @@ @@ -2066,7 +2116,7 @@ index 0000000..03d6fc5 + 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 739873c..cc9caa6 100644 ++index c97d98a..1ca7f4b 100644 +--- a/Telegram/SourceFiles/data/data_file_origin.cpp ++++ b/Telegram/SourceFiles/data/data_file_origin.cpp +@@ -1,3 +1,5 @@ @@ -2146,7 +2196,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_histories.cpp b/Telegram/SourceFiles/data/data_histories.cpp -+index 26fb8b8..83473a3 100644 ++index 0f42891..790ff32 100644 +--- a/Telegram/SourceFiles/data/data_histories.cpp ++++ b/Telegram/SourceFiles/data/data_histories.cpp +@@ -1,3 +1,5 @@ @@ -2176,7 +2226,7 @@ index 0000000..03d6fc5 + 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 f82b452..5925f73 100644 ++index 3a8dc19..72fb6ee 100644 +--- a/Telegram/SourceFiles/data/data_media_types.cpp ++++ b/Telegram/SourceFiles/data/data_media_types.cpp +@@ -1,3 +1,5 @@ @@ -2196,7 +2246,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_message_reactions.cpp b/Telegram/SourceFiles/data/data_message_reactions.cpp -+index 617e07e..bf5ceee 100644 ++index 4dbe1dc..24bcd99 100644 +--- a/Telegram/SourceFiles/data/data_message_reactions.cpp ++++ b/Telegram/SourceFiles/data/data_message_reactions.cpp +@@ -1,3 +1,5 @@ @@ -2216,7 +2266,7 @@ index 0000000..03d6fc5 + 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 9b5d6d3..529ce06 100644 ++index 064f8d9..780b32f 100644 +--- a/Telegram/SourceFiles/data/data_peer.cpp ++++ b/Telegram/SourceFiles/data/data_peer.cpp +@@ -1,3 +1,5 @@ @@ -2256,7 +2306,7 @@ index 0000000..03d6fc5 + 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 1d321f8..a9ccf4d 100644 ++index 60a1c5f..cddab46 100644 +--- a/Telegram/SourceFiles/data/data_peer_values.cpp ++++ b/Telegram/SourceFiles/data/data_peer_values.cpp +@@ -1,3 +1,5 @@ @@ -2286,7 +2336,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_poll.cpp b/Telegram/SourceFiles/data/data_poll.cpp -+index f781f95..9c0e1c1 100644 ++index 64a3176..8bc3989 100644 +--- a/Telegram/SourceFiles/data/data_poll.cpp ++++ b/Telegram/SourceFiles/data/data_poll.cpp +@@ -1,3 +1,5 @@ @@ -2355,16 +2405,6 @@ index 0000000..03d6fc5 + /* + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. -+diff --git a/Telegram/SourceFiles/data/data_scheduled_messages.cpp b/Telegram/SourceFiles/data/data_scheduled_messages.cpp -+index ffe4ab4..0c885c7 100644 -+--- a/Telegram/SourceFiles/data/data_scheduled_messages.cpp -++++ b/Telegram/SourceFiles/data/data_scheduled_messages.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_search_controller.cpp b/Telegram/SourceFiles/data/data_search_controller.cpp +index 43c5efb..edb2c63 100644 +--- a/Telegram/SourceFiles/data/data_search_controller.cpp @@ -2386,7 +2426,7 @@ index 0000000..03d6fc5 + 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 4614fae..9accc7f 100644 ++index 23f1214..9603245 100644 +--- a/Telegram/SourceFiles/data/data_session.cpp ++++ b/Telegram/SourceFiles/data/data_session.cpp +@@ -1,3 +1,5 @@ @@ -2396,7 +2436,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_shared_media.cpp b/Telegram/SourceFiles/data/data_shared_media.cpp -+index 8033fba..2d861b1 100644 ++index 6834190..65d4345 100644 +--- a/Telegram/SourceFiles/data/data_shared_media.cpp ++++ b/Telegram/SourceFiles/data/data_shared_media.cpp +@@ -1,3 +1,5 @@ @@ -2415,16 +2455,6 @@ index 0000000..03d6fc5 + /* + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. -+diff --git a/Telegram/SourceFiles/data/data_sponsored_messages.cpp b/Telegram/SourceFiles/data/data_sponsored_messages.cpp -+index 22cfbfe..fabc4d7 100644 -+--- a/Telegram/SourceFiles/data/data_sponsored_messages.cpp -++++ b/Telegram/SourceFiles/data/data_sponsored_messages.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_statistics_chart.cpp b/Telegram/SourceFiles/data/data_statistics_chart.cpp +index 5faf7bd..6173b8f 100644 +--- a/Telegram/SourceFiles/data/data_statistics_chart.cpp @@ -2435,7 +2465,7 @@ index 0000000..03d6fc5 + 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 0090ba3..0fa7376 100644 ++index 668ec4c..3ab58c4 100644 +--- a/Telegram/SourceFiles/data/data_stories.cpp ++++ b/Telegram/SourceFiles/data/data_stories.cpp +@@ -1,3 +1,5 @@ @@ -2445,7 +2475,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_stories_ids.cpp b/Telegram/SourceFiles/data/data_stories_ids.cpp -+index f8921fe..3830029 100644 ++index 71ccf42..8932ccf 100644 +--- a/Telegram/SourceFiles/data/data_stories_ids.cpp ++++ b/Telegram/SourceFiles/data/data_stories_ids.cpp +@@ -1,3 +1,5 @@ @@ -2455,7 +2485,7 @@ index 0000000..03d6fc5 + 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 cc0fefe..d38e1a5 100644 ++index 9db62b9..139637c 100644 +--- a/Telegram/SourceFiles/data/data_story.cpp ++++ b/Telegram/SourceFiles/data/data_story.cpp +@@ -1,3 +1,5 @@ @@ -2535,7 +2565,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_web_page.cpp b/Telegram/SourceFiles/data/data_web_page.cpp -+index 215e1a4..fb48571 100644 ++index d456562..35371f0 100644 +--- a/Telegram/SourceFiles/data/data_web_page.cpp ++++ b/Telegram/SourceFiles/data/data_web_page.cpp +@@ -1,3 +1,5 @@ @@ -2575,7 +2605,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/stickers/data_stickers.cpp b/Telegram/SourceFiles/data/stickers/data_stickers.cpp -+index f6da855..8aae297 100644 ++index 9ed24fb..dd4889a 100644 +--- a/Telegram/SourceFiles/data/stickers/data_stickers.cpp ++++ b/Telegram/SourceFiles/data/stickers/data_stickers.cpp +@@ -1,3 +1,5 @@ @@ -2615,7 +2645,7 @@ index 0000000..03d6fc5 + 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 0da8252..5a968cb 100644 ++index 542d411..fdfef56 100644 +--- a/Telegram/SourceFiles/dialogs/dialogs_inner_widget.cpp ++++ b/Telegram/SourceFiles/dialogs/dialogs_inner_widget.cpp +@@ -1,3 +1,5 @@ @@ -2695,7 +2725,7 @@ index 0000000..03d6fc5 + 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 8ac5c91..7d1b305 100644 ++index 6d8a226..db0a04b 100644 +--- a/Telegram/SourceFiles/dialogs/dialogs_widget.cpp ++++ b/Telegram/SourceFiles/dialogs/dialogs_widget.cpp +@@ -1,3 +1,5 @@ @@ -2705,7 +2735,7 @@ index 0000000..03d6fc5 + 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 a625d8a..5a0026f 100644 ++index f7cbff1..4d54b90 100644 +--- a/Telegram/SourceFiles/dialogs/ui/dialogs_layout.cpp ++++ b/Telegram/SourceFiles/dialogs/ui/dialogs_layout.cpp +@@ -1,3 +1,5 @@ @@ -2735,7 +2765,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/dialogs/ui/dialogs_stories_list.cpp b/Telegram/SourceFiles/dialogs/ui/dialogs_stories_list.cpp -+index f615f4f..60edf13 100644 ++index 1e4a4cd..fc427d2 100644 +--- a/Telegram/SourceFiles/dialogs/ui/dialogs_stories_list.cpp ++++ b/Telegram/SourceFiles/dialogs/ui/dialogs_stories_list.cpp +@@ -1,3 +1,4 @@ @@ -2743,6 +2773,16 @@ index 0000000..03d6fc5 + /* + 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 50362e6..1e3edb1 100644 ++--- a/Telegram/SourceFiles/dialogs/ui/dialogs_suggestions.cpp +++++ b/Telegram/SourceFiles/dialogs/ui/dialogs_suggestions.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/dialogs/ui/dialogs_topics_view.cpp b/Telegram/SourceFiles/dialogs/ui/dialogs_topics_view.cpp +index cd312fd..3d23440 100644 +--- a/Telegram/SourceFiles/dialogs/ui/dialogs_topics_view.cpp @@ -2763,6 +2803,15 @@ index 0000000..03d6fc5 + /* + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. ++diff --git a/Telegram/SourceFiles/dialogs/ui/top_peers_strip.cpp b/Telegram/SourceFiles/dialogs/ui/top_peers_strip.cpp ++index f793da3..787c957 100644 ++--- a/Telegram/SourceFiles/dialogs/ui/top_peers_strip.cpp +++++ b/Telegram/SourceFiles/dialogs/ui/top_peers_strip.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/editor/color_picker.cpp b/Telegram/SourceFiles/editor/color_picker.cpp +index a07e021..1f7440f 100644 +--- a/Telegram/SourceFiles/editor/color_picker.cpp @@ -2840,7 +2889,7 @@ index 0000000..03d6fc5 + 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 065b2a1..4cc8b56 100644 ++index 1a379b9..2f85784 100644 +--- a/Telegram/SourceFiles/editor/photo_editor_content.cpp ++++ b/Telegram/SourceFiles/editor/photo_editor_content.cpp +@@ -1,3 +1,4 @@ @@ -2923,7 +2972,7 @@ index 0000000..03d6fc5 + 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 2e08b24..163ddb8 100644 ++index c4b55f3..2879b5e 100644 +--- a/Telegram/SourceFiles/export/data/export_data_types.cpp ++++ b/Telegram/SourceFiles/export/data/export_data_types.cpp +@@ -1,3 +1,4 @@ @@ -2932,7 +2981,7 @@ index 0000000..03d6fc5 + 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 b50c105..0ecefd4 100644 ++index 6986101..5d27d2c 100644 +--- a/Telegram/SourceFiles/export/export_api_wrap.cpp ++++ b/Telegram/SourceFiles/export/export_api_wrap.cpp +@@ -1,3 +1,4 @@ @@ -3005,7 +3054,7 @@ index 0000000..03d6fc5 + 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 ed50aa5..6e5bb68 100644 ++index 67814e5..76fbd87 100644 +--- a/Telegram/SourceFiles/export/output/export_output_json.cpp ++++ b/Telegram/SourceFiles/export/output/export_output_json.cpp +@@ -1,3 +1,4 @@ @@ -3092,7 +3141,7 @@ index 0000000..03d6fc5 + 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_item.cpp b/Telegram/SourceFiles/history/admin_log/history_admin_log_item.cpp -+index 5899117..473d406 100644 ++index 72d7974..14bfcd0 100644 +--- a/Telegram/SourceFiles/history/admin_log/history_admin_log_item.cpp ++++ b/Telegram/SourceFiles/history/admin_log/history_admin_log_item.cpp +@@ -1,3 +1,5 @@ @@ -3112,7 +3161,7 @@ index 0000000..03d6fc5 + 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 499bf7c..efff5cf 100644 ++index dca5373..7abc527 100644 +--- a/Telegram/SourceFiles/history/history.cpp ++++ b/Telegram/SourceFiles/history/history.cpp +@@ -1,3 +1,5 @@ @@ -3122,7 +3171,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/history_drag_area.cpp b/Telegram/SourceFiles/history/history_drag_area.cpp -+index 39ba5fe..4eeb628 100644 ++index 4f99ec7..b8cae5e 100644 +--- a/Telegram/SourceFiles/history/history_drag_area.cpp ++++ b/Telegram/SourceFiles/history/history_drag_area.cpp +@@ -1,3 +1,5 @@ @@ -3132,7 +3181,7 @@ index 0000000..03d6fc5 + 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 26ca88b..eac337d 100644 ++index ae28620..8dd2e21 100644 +--- a/Telegram/SourceFiles/history/history_inner_widget.cpp ++++ b/Telegram/SourceFiles/history/history_inner_widget.cpp +@@ -1,3 +1,5 @@ @@ -3142,7 +3191,7 @@ index 0000000..03d6fc5 + 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 dc5ad0b..46d345d 100644 ++index 2c20bce..b2f971c 100644 +--- a/Telegram/SourceFiles/history/history_item.cpp ++++ b/Telegram/SourceFiles/history/history_item.cpp +@@ -1,3 +1,5 @@ @@ -3152,7 +3201,7 @@ index 0000000..03d6fc5 + 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 f2ebc57..d4a29d6 100644 ++index b8a6426..0b994ec 100644 +--- a/Telegram/SourceFiles/history/history_item_components.cpp ++++ b/Telegram/SourceFiles/history/history_item_components.cpp +@@ -1,3 +1,5 @@ @@ -3251,7 +3300,7 @@ index 0000000..03d6fc5 + 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 a3bd3eb..944d4b4 100644 ++index fdd4935..c5af8f5 100644 +--- a/Telegram/SourceFiles/history/history_widget.cpp ++++ b/Telegram/SourceFiles/history/history_widget.cpp +@@ -1,3 +1,5 @@ @@ -3270,7 +3319,7 @@ index 0000000..03d6fc5 + 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 d47ee6e..4d28ec1 100644 ++index dff2912..66a0859 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 @@ @@ -3320,7 +3369,7 @@ index 0000000..03d6fc5 + 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 aa0c740..51718ea 100644 ++index 912bf45..06fecf9 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 @@ @@ -3330,7 +3379,7 @@ index 0000000..03d6fc5 + 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 84d5656..c16166b 100644 ++index 986ea9d..12dec27 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 @@ @@ -3379,7 +3428,7 @@ index 0000000..03d6fc5 + 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 22d3292..685e8b2 100644 ++index bb74d73..55619bb 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 @@ @@ -3409,7 +3458,7 @@ index 0000000..03d6fc5 + 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 ce25da4..19ee390 100644 ++index e687ec9..e88cb43 100644 +--- a/Telegram/SourceFiles/history/view/history_view_element.cpp ++++ b/Telegram/SourceFiles/history/view/history_view_element.cpp +@@ -1,3 +1,5 @@ @@ -3449,7 +3498,7 @@ index 0000000..03d6fc5 + 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 23b7c0b..d7a90ba 100644 ++index e849bd9..e16543c 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 @@ @@ -3459,7 +3508,7 @@ index 0000000..03d6fc5 + 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 100fff4..6495271 100644 ++index 67f10c0..df64432 100644 +--- a/Telegram/SourceFiles/history/view/history_view_message.cpp ++++ b/Telegram/SourceFiles/history/view/history_view_message.cpp +@@ -1,3 +1,5 @@ @@ -3509,7 +3558,7 @@ index 0000000..03d6fc5 + 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 9543eea..e09e533 100644 ++index afd77d6..07c8493 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 @@ @@ -3519,7 +3568,7 @@ index 0000000..03d6fc5 + 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_reply.cpp b/Telegram/SourceFiles/history/view/history_view_reply.cpp -+index 5830bf0..80801d9 100644 ++index 1b9df5d..9263d44 100644 +--- a/Telegram/SourceFiles/history/view/history_view_reply.cpp ++++ b/Telegram/SourceFiles/history/view/history_view_reply.cpp +@@ -1,3 +1,5 @@ @@ -3549,7 +3598,7 @@ index 0000000..03d6fc5 + 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 6c989fd..c43b69b 100644 ++index 6673474..1156c59 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 @@ @@ -3559,7 +3608,7 @@ index 0000000..03d6fc5 + 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_send_action.cpp b/Telegram/SourceFiles/history/view/history_view_send_action.cpp -+index 5380ccf..b0811c1 100644 ++index 460941e..b9a074a 100644 +--- a/Telegram/SourceFiles/history/view/history_view_send_action.cpp ++++ b/Telegram/SourceFiles/history/view/history_view_send_action.cpp +@@ -1,3 +1,5 @@ @@ -3589,7 +3638,7 @@ index 0000000..03d6fc5 + 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_sponsored_click_handler.cpp b/Telegram/SourceFiles/history/view/history_view_sponsored_click_handler.cpp -+index 65b0304..72b88a5 100644 ++index 6fe3414..e47bb88 100644 +--- a/Telegram/SourceFiles/history/view/history_view_sponsored_click_handler.cpp ++++ b/Telegram/SourceFiles/history/view/history_view_sponsored_click_handler.cpp +@@ -1,3 +1,5 @@ @@ -3719,7 +3768,7 @@ index 0000000..03d6fc5 + 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 d884580..4a87d87 100644 ++index b7714d5..0efa69e 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 @@ @@ -3799,7 +3848,7 @@ index 0000000..03d6fc5 + 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_location.cpp b/Telegram/SourceFiles/history/view/media/history_view_location.cpp -+index 5fab03d..e99acbf 100644 ++index f16d651..7572dbd 100644 +--- a/Telegram/SourceFiles/history/view/media/history_view_location.cpp ++++ b/Telegram/SourceFiles/history/view/media/history_view_location.cpp +@@ -1,3 +1,5 @@ @@ -3809,7 +3858,7 @@ index 0000000..03d6fc5 + 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 f64cb80..36b6270 100644 ++index 56720e8..7408466 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 @@ @@ -3879,7 +3928,7 @@ index 0000000..03d6fc5 + 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 82ca69e..b685707 100644 ++index 6f924fc..ccbcc5f 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 @@ @@ -3929,7 +3978,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/media/history_view_sticker.cpp b/Telegram/SourceFiles/history/view/media/history_view_sticker.cpp -+index 0fe8f1b..5822ed6 100644 ++index c8527d9..6baf452 100644 +--- a/Telegram/SourceFiles/history/view/media/history_view_sticker.cpp ++++ b/Telegram/SourceFiles/history/view/media/history_view_sticker.cpp +@@ -1,3 +1,5 @@ @@ -3979,7 +4028,7 @@ index 0000000..03d6fc5 + 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 fbd61a0..eb71c16 100644 ++index 0181d7d..6318cc9 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 @@ @@ -4126,7 +4175,7 @@ index 0000000..03d6fc5 + 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 ea470af..a7c3ddd 100644 ++index 4f87fa5..901b60c 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 @@ @@ -4135,7 +4184,7 @@ index 0000000..03d6fc5 + 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_earn_inner_widget.cpp b/Telegram/SourceFiles/info/channel_statistics/earn/info_earn_inner_widget.cpp -+index 80e377e..a3ad57d 100644 ++index d3af5f1..1cc6ca0 100644 +--- a/Telegram/SourceFiles/info/channel_statistics/earn/info_earn_inner_widget.cpp ++++ b/Telegram/SourceFiles/info/channel_statistics/earn/info_earn_inner_widget.cpp +@@ -1,3 +1,5 @@ @@ -4165,7 +4214,7 @@ index 0000000..03d6fc5 + 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 720f47e..5ebd3e3 100644 ++index 37defed..4086b87 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 @@ @@ -4265,7 +4314,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/info_top_bar.cpp b/Telegram/SourceFiles/info/info_top_bar.cpp -+index 1e5f34c..dffbb1b 100644 ++index 0a59d52..17ffaaf 100644 +--- a/Telegram/SourceFiles/info/info_top_bar.cpp ++++ b/Telegram/SourceFiles/info/info_top_bar.cpp +@@ -1,3 +1,5 @@ @@ -4325,7 +4374,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/media/info_media_list_widget.cpp b/Telegram/SourceFiles/info/media/info_media_list_widget.cpp -+index 1a42e63..fdc1b48 100644 ++index 280b355..00129d3 100644 +--- a/Telegram/SourceFiles/info/media/info_media_list_widget.cpp ++++ b/Telegram/SourceFiles/info/media/info_media_list_widget.cpp +@@ -1,3 +1,5 @@ @@ -4365,7 +4414,7 @@ index 0000000..03d6fc5 + 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 3d42cb8..84cbc97 100644 ++index 9fa9ac4..13d6aed 100644 +--- a/Telegram/SourceFiles/info/polls/info_polls_results_inner_widget.cpp ++++ b/Telegram/SourceFiles/info/polls/info_polls_results_inner_widget.cpp +@@ -1,3 +1,5 @@ @@ -4385,7 +4434,7 @@ index 0000000..03d6fc5 + 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 dfc7d3b..1ad54a1 100644 ++index 4dbd1fd..3a70c59 100644 +--- a/Telegram/SourceFiles/info/profile/info_profile_actions.cpp ++++ b/Telegram/SourceFiles/info/profile/info_profile_actions.cpp +@@ -1,3 +1,5 @@ @@ -4415,7 +4464,7 @@ index 0000000..03d6fc5 + 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_emoji_status_panel.cpp b/Telegram/SourceFiles/info/profile/info_profile_emoji_status_panel.cpp -+index c4cce45..4c249d0 100644 ++index 3a31769..0c1a2df 100644 +--- a/Telegram/SourceFiles/info/profile/info_profile_emoji_status_panel.cpp ++++ b/Telegram/SourceFiles/info/profile/info_profile_emoji_status_panel.cpp +@@ -1,3 +1,5 @@ @@ -4534,7 +4583,7 @@ index 0000000..03d6fc5 + 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 6f4e45f..df61597 100644 ++index 6e58031..819bb05 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 @@ @@ -4584,7 +4633,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/stories/info_stories_provider.cpp b/Telegram/SourceFiles/info/stories/info_stories_provider.cpp -+index ba82c29..8b725a6 100644 ++index 6c9a7da..675cebb 100644 +--- a/Telegram/SourceFiles/info/stories/info_stories_provider.cpp ++++ b/Telegram/SourceFiles/info/stories/info_stories_provider.cpp +@@ -1,3 +1,5 @@ @@ -4622,7 +4671,7 @@ index 0000000..03d6fc5 + 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_colors_editor.cpp b/Telegram/SourceFiles/info/userpic/info_userpic_colors_editor.cpp -+index 4e17bef..c28a4ed 100644 ++index fbfa8fb..264fe7a 100644 +--- a/Telegram/SourceFiles/info/userpic/info_userpic_colors_editor.cpp ++++ b/Telegram/SourceFiles/info/userpic/info_userpic_colors_editor.cpp +@@ -1,3 +1,5 @@ @@ -4681,7 +4730,7 @@ index 0000000..03d6fc5 + 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_widget.cpp b/Telegram/SourceFiles/info/userpic/info_userpic_emoji_builder_widget.cpp -+index cd98ee5..42026ef 100644 ++index 7d4f075..54ae663 100644 +--- a/Telegram/SourceFiles/info/userpic/info_userpic_emoji_builder_widget.cpp ++++ b/Telegram/SourceFiles/info/userpic/info_userpic_emoji_builder_widget.cpp +@@ -1,3 +1,5 @@ @@ -4691,7 +4740,7 @@ index 0000000..03d6fc5 + 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 682afe3..11cccc8 100644 ++index 95e7630..c179b8a 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 @@ @@ -4736,7 +4785,7 @@ index 0000000..03d6fc5 + 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 0103789..ec7462c 100644 ++index 5e45b3d..6690e24 100644 +--- a/Telegram/SourceFiles/inline_bots/inline_results_inner.cpp ++++ b/Telegram/SourceFiles/inline_bots/inline_results_inner.cpp +@@ -1,3 +1,4 @@ @@ -4763,7 +4812,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/intro/intro_code_input.cpp b/Telegram/SourceFiles/intro/intro_code_input.cpp -+index 968cd87..7373b3a 100644 ++index a3964d3..c120759 100644 +--- a/Telegram/SourceFiles/intro/intro_code_input.cpp ++++ b/Telegram/SourceFiles/intro/intro_code_input.cpp +@@ -1,3 +1,4 @@ @@ -4817,7 +4866,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/intro/intro_step.cpp b/Telegram/SourceFiles/intro/intro_step.cpp -+index 9c408f4..72740b8 100644 ++index 9e9a266..ef8aef1 100644 +--- a/Telegram/SourceFiles/intro/intro_step.cpp ++++ b/Telegram/SourceFiles/intro/intro_step.cpp +@@ -1,3 +1,4 @@ @@ -4835,7 +4884,7 @@ index 0000000..03d6fc5 + 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 c62debe..1da3a69 100644 ++index cc9d727..5a81b2a 100644 +--- a/Telegram/SourceFiles/iv/iv_controller.cpp ++++ b/Telegram/SourceFiles/iv/iv_controller.cpp +@@ -1,3 +1,5 @@ @@ -4866,7 +4915,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/iv/iv_instance.cpp b/Telegram/SourceFiles/iv/iv_instance.cpp -+index 2362a6b..c401c52 100644 ++index ab2e213..8429fe8 100644 +--- a/Telegram/SourceFiles/iv/iv_instance.cpp ++++ b/Telegram/SourceFiles/iv/iv_instance.cpp +@@ -1,3 +1,6 @@ @@ -4877,7 +4926,7 @@ index 0000000..03d6fc5 + 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 6069d44..de82ec8 100644 ++index d5f5375..ff23011 100644 +--- a/Telegram/SourceFiles/iv/iv_prepare.cpp ++++ b/Telegram/SourceFiles/iv/iv_prepare.cpp +@@ -1,3 +1,5 @@ @@ -4906,7 +4955,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/lang/lang_instance.cpp b/Telegram/SourceFiles/lang/lang_instance.cpp -+index e2d26b6..789fdd1 100644 ++index eadb265..7b8ce8b 100644 +--- a/Telegram/SourceFiles/lang/lang_instance.cpp ++++ b/Telegram/SourceFiles/lang/lang_instance.cpp +@@ -1,3 +1,5 @@ @@ -5046,7 +5095,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/main/main_account.cpp b/Telegram/SourceFiles/main/main_account.cpp -+index 90a6a89..98e028e 100644 ++index 9e366ca..5a788f7 100644 +--- a/Telegram/SourceFiles/main/main_account.cpp ++++ b/Telegram/SourceFiles/main/main_account.cpp +@@ -1,3 +1,4 @@ @@ -5082,7 +5131,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/main/main_session.cpp b/Telegram/SourceFiles/main/main_session.cpp -+index 8ec2842..2f875c8 100644 ++index 1449d94..c0b5847 100644 +--- a/Telegram/SourceFiles/main/main_session.cpp ++++ b/Telegram/SourceFiles/main/main_session.cpp +@@ -1,3 +1,4 @@ @@ -5091,7 +5140,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/main/main_session_settings.cpp b/Telegram/SourceFiles/main/main_session_settings.cpp -+index 239bc7c..cbdf8e0 100644 ++index 7806dea..5b75055 100644 +--- a/Telegram/SourceFiles/main/main_session_settings.cpp ++++ b/Telegram/SourceFiles/main/main_session_settings.cpp +@@ -1,3 +1,4 @@ @@ -5118,7 +5167,7 @@ index 0000000..03d6fc5 + 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 5b8d4fc..7a60238 100644 ++index ecd9ad0..2a6c233 100644 +--- a/Telegram/SourceFiles/mainwidget.cpp ++++ b/Telegram/SourceFiles/mainwidget.cpp +@@ -1,3 +1,4 @@ @@ -5127,7 +5176,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/mainwindow.cpp b/Telegram/SourceFiles/mainwindow.cpp -+index 5e8724b..277a54c 100644 ++index 93d6d30..f5e3f8e 100644 +--- a/Telegram/SourceFiles/mainwindow.cpp ++++ b/Telegram/SourceFiles/mainwindow.cpp +@@ -1,3 +1,4 @@ @@ -5251,7 +5300,7 @@ index 0000000..03d6fc5 + 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 79691a4..bf97ff0 100644 ++index 0e9ab42..0ff0deb 100644 +--- a/Telegram/SourceFiles/media/player/media_player_button.cpp ++++ b/Telegram/SourceFiles/media/player/media_player_button.cpp +@@ -1,3 +1,4 @@ @@ -5260,7 +5309,7 @@ index 0000000..03d6fc5 + 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 c00765c..4e3f251 100644 ++index 073ae25..2d3a4a1 100644 +--- a/Telegram/SourceFiles/media/player/media_player_dropdown.cpp ++++ b/Telegram/SourceFiles/media/player/media_player_dropdown.cpp +@@ -1,3 +1,4 @@ @@ -5329,7 +5378,7 @@ index 0000000..03d6fc5 + 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 d43ff3a..24f1c1b 100644 ++index 39b3f45..1201259 100644 +--- a/Telegram/SourceFiles/media/stories/media_stories_controller.cpp ++++ b/Telegram/SourceFiles/media/stories/media_stories_controller.cpp +@@ -1,3 +1,5 @@ @@ -5409,7 +5458,7 @@ index 0000000..03d6fc5 + 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_sibling.cpp b/Telegram/SourceFiles/media/stories/media_stories_sibling.cpp -+index e57825e..ecabe43 100644 ++index 7426398..fdd5e26 100644 +--- a/Telegram/SourceFiles/media/stories/media_stories_sibling.cpp ++++ b/Telegram/SourceFiles/media/stories/media_stories_sibling.cpp +@@ -1,3 +1,5 @@ @@ -5439,7 +5488,7 @@ index 0000000..03d6fc5 + 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_view.cpp b/Telegram/SourceFiles/media/stories/media_stories_view.cpp -+index e21cd1f..5fb7e5d 100644 ++index c8f5ffe..427b227 100644 +--- a/Telegram/SourceFiles/media/stories/media_stories_view.cpp ++++ b/Telegram/SourceFiles/media/stories/media_stories_view.cpp +@@ -1,3 +1,5 @@ @@ -5559,7 +5608,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/media/system_media_controls_manager.cpp b/Telegram/SourceFiles/media/system_media_controls_manager.cpp -+index d166858..7c368fc 100644 ++index 91f016a..f97a6f7 100644 +--- a/Telegram/SourceFiles/media/system_media_controls_manager.cpp ++++ b/Telegram/SourceFiles/media/system_media_controls_manager.cpp +@@ -1,3 +1,4 @@ @@ -5598,7 +5647,7 @@ index 0000000..03d6fc5 + 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 229b376..b45b0ae 100644 ++index cfa414a..eb95d65 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 @@ @@ -5697,7 +5746,7 @@ index 0000000..03d6fc5 + 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 02ab8ed..952b7ff 100644 ++index a31fcf1..b9abfb3 100644 +--- a/Telegram/SourceFiles/menu/menu_send.cpp ++++ b/Telegram/SourceFiles/menu/menu_send.cpp +@@ -1,3 +1,5 @@ @@ -5707,7 +5756,7 @@ index 0000000..03d6fc5 + 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 bfa8427..46b81d6 100644 ++index e917c3f..43bc862 100644 +--- a/Telegram/SourceFiles/menu/menu_sponsored.cpp ++++ b/Telegram/SourceFiles/menu/menu_sponsored.cpp +@@ -1,3 +1,5 @@ @@ -5838,7 +5887,7 @@ index 0000000..03d6fc5 + 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 1491174..d3a4e01 100644 ++index 93865a5..0747116 100644 +--- a/Telegram/SourceFiles/mtproto/details/mtproto_domain_resolver.cpp ++++ b/Telegram/SourceFiles/mtproto/details/mtproto_domain_resolver.cpp +@@ -1,3 +1,4 @@ @@ -5939,7 +5988,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/mtproto/mtproto_config.cpp b/Telegram/SourceFiles/mtproto/mtproto_config.cpp -+index 4986f71..3b8379d 100644 ++index 454339f..37d6c14 100644 +--- a/Telegram/SourceFiles/mtproto/mtproto_config.cpp ++++ b/Telegram/SourceFiles/mtproto/mtproto_config.cpp +@@ -1,3 +1,4 @@ @@ -6020,7 +6069,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/overview/overview_layout.cpp b/Telegram/SourceFiles/overview/overview_layout.cpp -+index 69fc9f2..3ad6a13 100644 ++index e75af14..4fd1f39 100644 +--- a/Telegram/SourceFiles/overview/overview_layout.cpp ++++ b/Telegram/SourceFiles/overview/overview_layout.cpp +@@ -1,3 +1,4 @@ @@ -6049,7 +6098,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/passport/passport_form_controller.cpp b/Telegram/SourceFiles/passport/passport_form_controller.cpp -+index 980888f..d1c0339 100644 ++index eafb623..480266f 100644 +--- a/Telegram/SourceFiles/passport/passport_form_controller.cpp ++++ b/Telegram/SourceFiles/passport/passport_form_controller.cpp +@@ -1,3 +1,5 @@ @@ -6167,7 +6216,7 @@ index 0000000..03d6fc5 + 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 b9e1b63..29db294 100644 ++index e9fb12d..4db1cfa 100644 +--- a/Telegram/SourceFiles/payments/payments_checkout_process.cpp ++++ b/Telegram/SourceFiles/payments/payments_checkout_process.cpp +@@ -1,3 +1,5 @@ @@ -6335,7 +6384,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/payments/ui/payments_panel.cpp b/Telegram/SourceFiles/payments/ui/payments_panel.cpp -+index a672f81..b203213 100644 ++index f509fdb..3ce4ed6 100644 +--- a/Telegram/SourceFiles/payments/ui/payments_panel.cpp ++++ b/Telegram/SourceFiles/payments/ui/payments_panel.cpp +@@ -1,3 +1,5 @@ @@ -6345,7 +6394,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp b/Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp -+index 2f9c0d9..e2ae6f3 100644 ++index 9d9b67e..80ee6b7 100644 +--- a/Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp ++++ b/Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp +@@ -1,3 +1,4 @@ @@ -6371,35 +6420,8 @@ index 0000000..03d6fc5 + /* + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. -+diff --git a/Telegram/SourceFiles/platform/linux/linux_wayland_integration.cpp b/Telegram/SourceFiles/platform/linux/linux_wayland_integration.cpp -+index c1485dd..f038eb2 100644 -+--- a/Telegram/SourceFiles/platform/linux/linux_wayland_integration.cpp -++++ b/Telegram/SourceFiles/platform/linux/linux_wayland_integration.cpp -+@@ -1,3 +1,4 @@ -++#include "stdafx.h" -+ /* -+ This file is part of Telegram Desktop, -+ the official desktop application for the Telegram messaging service. -+diff --git a/Telegram/SourceFiles/platform/linux/linux_wayland_integration_dummy.cpp b/Telegram/SourceFiles/platform/linux/linux_wayland_integration_dummy.cpp -+index b415130..83438e4 100644 -+--- a/Telegram/SourceFiles/platform/linux/linux_wayland_integration_dummy.cpp -++++ b/Telegram/SourceFiles/platform/linux/linux_wayland_integration_dummy.cpp -+@@ -1,3 +1,4 @@ -++#include "stdafx.h" -+ /* -+ This file is part of Telegram Desktop, -+ the official desktop application for the Telegram messaging service. -+diff --git a/Telegram/SourceFiles/platform/linux/linux_xdp_open_with_dialog.cpp b/Telegram/SourceFiles/platform/linux/linux_xdp_open_with_dialog.cpp -+index 26a0700..c9a332b 100644 -+--- a/Telegram/SourceFiles/platform/linux/linux_xdp_open_with_dialog.cpp -++++ b/Telegram/SourceFiles/platform/linux/linux_xdp_open_with_dialog.cpp -+@@ -1,3 +1,4 @@ -++#include "stdafx.h" -+ /* -+ This file is part of Telegram Desktop, -+ the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/platform/linux/main_window_linux.cpp b/Telegram/SourceFiles/platform/linux/main_window_linux.cpp -+index d4f771f..0b7c729 100644 ++index a95a647..6f841bf 100644 +--- a/Telegram/SourceFiles/platform/linux/main_window_linux.cpp ++++ b/Telegram/SourceFiles/platform/linux/main_window_linux.cpp +@@ -1,3 +1,4 @@ @@ -6417,7 +6439,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop for Haiku, + +diff --git a/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp b/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp -+index 0ea48a7..de99e3c 100644 ++index f80d88c..fd482ad 100644 +--- a/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp ++++ b/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp +@@ -1,3 +1,4 @@ @@ -6426,7 +6448,7 @@ index 0000000..03d6fc5 + /* + 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 f559014..3dd9031 100644 ++index 80072c8..4ee5703 100644 +--- a/Telegram/SourceFiles/platform/linux/specific_linux.cpp ++++ b/Telegram/SourceFiles/platform/linux/specific_linux.cpp +@@ -1,3 +1,4 @@ @@ -6526,7 +6548,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/settings/business/settings_chat_intro.cpp b/Telegram/SourceFiles/settings/business/settings_chat_intro.cpp -+index 7bd61ca..6480e1e 100644 ++index b8a7607..a68f3a7 100644 +--- a/Telegram/SourceFiles/settings/business/settings_chat_intro.cpp ++++ b/Telegram/SourceFiles/settings/business/settings_chat_intro.cpp +@@ -1,3 +1,5 @@ @@ -6697,7 +6719,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/settings/settings_business.cpp b/Telegram/SourceFiles/settings/settings_business.cpp -+index feee8e8..45e77c6 100644 ++index 66b707c..0c55876 100644 +--- a/Telegram/SourceFiles/settings/settings_business.cpp ++++ b/Telegram/SourceFiles/settings/settings_business.cpp +@@ -1,3 +1,4 @@ @@ -6715,7 +6737,7 @@ index 0000000..03d6fc5 + 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 d7c977d..e31d623 100644 ++index 2bc5209..56ef44b 100644 +--- a/Telegram/SourceFiles/settings/settings_chat.cpp ++++ b/Telegram/SourceFiles/settings/settings_chat.cpp +@@ -1,3 +1,4 @@ @@ -6805,7 +6827,7 @@ index 0000000..03d6fc5 + 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 a33485c..2a3b2bb 100644 ++index 551d4f3..a39a5f0 100644 +--- a/Telegram/SourceFiles/settings/settings_main.cpp ++++ b/Telegram/SourceFiles/settings/settings_main.cpp +@@ -1,3 +1,4 @@ @@ -6841,7 +6863,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/settings/settings_premium.cpp b/Telegram/SourceFiles/settings/settings_premium.cpp -+index d1962e4..bfd046b 100644 ++index 057f36d..3f69677 100644 +--- a/Telegram/SourceFiles/settings/settings_premium.cpp ++++ b/Telegram/SourceFiles/settings/settings_premium.cpp +@@ -1,3 +1,4 @@ @@ -6859,7 +6881,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/settings/settings_privacy_security.cpp b/Telegram/SourceFiles/settings/settings_privacy_security.cpp -+index 0454578..4fb1714 100644 ++index 66a2663..6b383ea 100644 +--- a/Telegram/SourceFiles/settings/settings_privacy_security.cpp ++++ b/Telegram/SourceFiles/settings/settings_privacy_security.cpp +@@ -1,3 +1,4 @@ @@ -6895,7 +6917,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/statistics/chart_rulers_data.cpp b/Telegram/SourceFiles/statistics/chart_rulers_data.cpp -+index 1b4e9c3..f3a8053 100644 ++index 4f9471c..945e2e6 100644 +--- a/Telegram/SourceFiles/statistics/chart_rulers_data.cpp ++++ b/Telegram/SourceFiles/statistics/chart_rulers_data.cpp +@@ -1,3 +1,4 @@ @@ -6904,7 +6926,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/statistics/chart_widget.cpp b/Telegram/SourceFiles/statistics/chart_widget.cpp -+index 93d225c..c3b514a 100644 ++index 823481e..84db6cc 100644 +--- a/Telegram/SourceFiles/statistics/chart_widget.cpp ++++ b/Telegram/SourceFiles/statistics/chart_widget.cpp +@@ -1,3 +1,4 @@ @@ -6913,7 +6935,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/statistics/segment_tree.cpp b/Telegram/SourceFiles/statistics/segment_tree.cpp -+index f19f8b8..42a43cd 100644 ++index 51c2082..fc20559 100644 +--- a/Telegram/SourceFiles/statistics/segment_tree.cpp ++++ b/Telegram/SourceFiles/statistics/segment_tree.cpp +@@ -1,3 +1,4 @@ @@ -6922,7 +6944,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/statistics/statistics_data_deserialize.cpp b/Telegram/SourceFiles/statistics/statistics_data_deserialize.cpp -+index ac649cf..f640b6b 100644 ++index 7f47a39..7d0ff89 100644 +--- a/Telegram/SourceFiles/statistics/statistics_data_deserialize.cpp ++++ b/Telegram/SourceFiles/statistics/statistics_data_deserialize.cpp +@@ -1,3 +1,4 @@ @@ -6940,7 +6962,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/statistics/view/abstract_chart_view.cpp b/Telegram/SourceFiles/statistics/view/abstract_chart_view.cpp -+index d2c8e6b..d2bb4b5 100644 ++index 4b5f292..f297afa 100644 +--- a/Telegram/SourceFiles/statistics/view/abstract_chart_view.cpp ++++ b/Telegram/SourceFiles/statistics/view/abstract_chart_view.cpp +@@ -1,3 +1,4 @@ @@ -6949,7 +6971,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/statistics/view/bar_chart_view.cpp b/Telegram/SourceFiles/statistics/view/bar_chart_view.cpp -+index 8beeaa5..68fbf63 100644 ++index f796e02..91031ad 100644 +--- a/Telegram/SourceFiles/statistics/view/bar_chart_view.cpp ++++ b/Telegram/SourceFiles/statistics/view/bar_chart_view.cpp +@@ -1,3 +1,4 @@ @@ -6994,7 +7016,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/statistics/view/stack_linear_chart_common.cpp b/Telegram/SourceFiles/statistics/view/stack_linear_chart_common.cpp -+index a2ca3ff..f290af5 100644 ++index b7727bd..fcb438c 100644 +--- a/Telegram/SourceFiles/statistics/view/stack_linear_chart_common.cpp ++++ b/Telegram/SourceFiles/statistics/view/stack_linear_chart_common.cpp +@@ -1,3 +1,4 @@ @@ -7003,7 +7025,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/statistics/view/stack_linear_chart_view.cpp b/Telegram/SourceFiles/statistics/view/stack_linear_chart_view.cpp -+index dc3e00d..368f757 100644 ++index a4e4a7c..a20f7f1 100644 +--- a/Telegram/SourceFiles/statistics/view/stack_linear_chart_view.cpp ++++ b/Telegram/SourceFiles/statistics/view/stack_linear_chart_view.cpp +@@ -1,3 +1,4 @@ @@ -7120,7 +7142,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/storage/serialize_common.cpp b/Telegram/SourceFiles/storage/serialize_common.cpp -+index d3f7ec8..86d929b 100644 ++index 3267ee1..8484601 100644 +--- a/Telegram/SourceFiles/storage/serialize_common.cpp ++++ b/Telegram/SourceFiles/storage/serialize_common.cpp +@@ -1,3 +1,4 @@ @@ -7138,7 +7160,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/storage/serialize_peer.cpp b/Telegram/SourceFiles/storage/serialize_peer.cpp -+index 861bebd..2156ffd 100644 ++index 96e9dae..fcd1493 100644 +--- a/Telegram/SourceFiles/storage/serialize_peer.cpp ++++ b/Telegram/SourceFiles/storage/serialize_peer.cpp +@@ -1,3 +1,4 @@ @@ -7147,7 +7169,7 @@ index 0000000..03d6fc5 + 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 ca04135..1d38a91 100644 ++index 83d8e52..212fe1d 100644 +--- a/Telegram/SourceFiles/storage/storage_account.cpp ++++ b/Telegram/SourceFiles/storage/storage_account.cpp +@@ -1,3 +1,4 @@ @@ -7165,7 +7187,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/storage/storage_domain.cpp b/Telegram/SourceFiles/storage/storage_domain.cpp -+index 1ea0e0f..27bbe5c 100644 ++index c46594f..f46119b 100644 +--- a/Telegram/SourceFiles/storage/storage_domain.cpp ++++ b/Telegram/SourceFiles/storage/storage_domain.cpp +@@ -1,3 +1,4 @@ @@ -7327,7 +7349,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/boxes/choose_date_time.cpp b/Telegram/SourceFiles/ui/boxes/choose_date_time.cpp -+index e4d8092..c810c5b 100644 ++index 8651b5b..3c7c639 100644 +--- a/Telegram/SourceFiles/ui/boxes/choose_date_time.cpp ++++ b/Telegram/SourceFiles/ui/boxes/choose_date_time.cpp +@@ -1,3 +1,4 @@ @@ -7335,6 +7357,15 @@ index 0000000..03d6fc5 + /* + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. ++diff --git a/Telegram/SourceFiles/ui/boxes/choose_font_box.cpp b/Telegram/SourceFiles/ui/boxes/choose_font_box.cpp ++index 512e8a6..d58ca1f 100644 ++--- a/Telegram/SourceFiles/ui/boxes/choose_font_box.cpp +++++ b/Telegram/SourceFiles/ui/boxes/choose_font_box.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/boxes/choose_language_box.cpp b/Telegram/SourceFiles/ui/boxes/choose_language_box.cpp +index ef7604f..8292c87 100644 +--- a/Telegram/SourceFiles/ui/boxes/choose_language_box.cpp @@ -7498,7 +7529,7 @@ index 0000000..03d6fc5 + 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 262c852..9b57cd6 100644 ++index a18c86b..0ccaca2 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 @@ @@ -7580,7 +7611,7 @@ index 0000000..03d6fc5 + 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 9470d71..ddf03c1 100644 ++index 56f2364..379eea2 100644 +--- a/Telegram/SourceFiles/ui/chat/chat_style.cpp ++++ b/Telegram/SourceFiles/ui/chat/chat_style.cpp +@@ -1,3 +1,4 @@ @@ -7598,7 +7629,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/chat/chat_theme.cpp b/Telegram/SourceFiles/ui/chat/chat_theme.cpp -+index 1022f8e..f7293fc 100644 ++index 4979e5c..27aa3a9 100644 +--- a/Telegram/SourceFiles/ui/chat/chat_theme.cpp ++++ b/Telegram/SourceFiles/ui/chat/chat_theme.cpp +@@ -1,3 +1,4 @@ @@ -7726,7 +7757,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/controls/call_mute_button.cpp b/Telegram/SourceFiles/ui/controls/call_mute_button.cpp -+index dfb3180..696da50 100644 ++index 731df0c..21a7553 100644 +--- a/Telegram/SourceFiles/ui/controls/call_mute_button.cpp ++++ b/Telegram/SourceFiles/ui/controls/call_mute_button.cpp +@@ -1,3 +1,4 @@ @@ -7825,7 +7856,7 @@ index 0000000..03d6fc5 + 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 2e83de2..dc77f5b 100644 ++index 90c3348..89e99f4 100644 +--- a/Telegram/SourceFiles/ui/controls/send_button.cpp ++++ b/Telegram/SourceFiles/ui/controls/send_button.cpp +@@ -1,3 +1,4 @@ @@ -7844,7 +7875,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/controls/tabbed_search.cpp b/Telegram/SourceFiles/ui/controls/tabbed_search.cpp -+index 6aaea70..de85d2b 100644 ++index 7acc65a..320409d 100644 +--- a/Telegram/SourceFiles/ui/controls/tabbed_search.cpp ++++ b/Telegram/SourceFiles/ui/controls/tabbed_search.cpp +@@ -1,3 +1,4 @@ @@ -7890,7 +7921,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/countryinput.cpp b/Telegram/SourceFiles/ui/countryinput.cpp -+index 0021591..3d296f1 100644 ++index a9c9e1a..9f604d2 100644 +--- a/Telegram/SourceFiles/ui/countryinput.cpp ++++ b/Telegram/SourceFiles/ui/countryinput.cpp +@@ -1,3 +1,5 @@ @@ -7900,7 +7931,7 @@ index 0000000..03d6fc5 + 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 847e7d5..f5ae70e 100644 ++index fb977e6..0ac6856 100644 +--- a/Telegram/SourceFiles/ui/dynamic_thumbnails.cpp ++++ b/Telegram/SourceFiles/ui/dynamic_thumbnails.cpp +@@ -1,3 +1,4 @@ @@ -7965,7 +7996,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/effects/premium_graphics.cpp b/Telegram/SourceFiles/ui/effects/premium_graphics.cpp -+index 3d3cb00..d1939ae 100644 ++index b701f85..a2bc59a 100644 +--- a/Telegram/SourceFiles/ui/effects/premium_graphics.cpp ++++ b/Telegram/SourceFiles/ui/effects/premium_graphics.cpp +@@ -1,3 +1,4 @@ @@ -8198,7 +8229,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/text/format_values.cpp b/Telegram/SourceFiles/ui/text/format_values.cpp -+index 41e9857..345eee4 100644 ++index a5115ac..f9d5bde 100644 +--- a/Telegram/SourceFiles/ui/text/format_values.cpp ++++ b/Telegram/SourceFiles/ui/text/format_values.cpp +@@ -1,3 +1,4 @@ @@ -8226,7 +8257,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/unread_badge_paint.cpp b/Telegram/SourceFiles/ui/unread_badge_paint.cpp -+index 758d48d..c9e78d1 100644 ++index d6b150a..18eee03 100644 +--- a/Telegram/SourceFiles/ui/unread_badge_paint.cpp ++++ b/Telegram/SourceFiles/ui/unread_badge_paint.cpp +@@ -1,3 +1,4 @@ @@ -8271,7 +8302,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/widgets/discrete_sliders.cpp b/Telegram/SourceFiles/ui/widgets/discrete_sliders.cpp -+index 3dda10b..04a279b 100644 ++index e78de05..ad73468 100644 +--- a/Telegram/SourceFiles/ui/widgets/discrete_sliders.cpp ++++ b/Telegram/SourceFiles/ui/widgets/discrete_sliders.cpp +@@ -1,3 +1,4 @@ @@ -8306,8 +8337,17 @@ index 0000000..03d6fc5 + /* + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. ++diff --git a/Telegram/SourceFiles/ui/widgets/label_with_custom_emoji.cpp b/Telegram/SourceFiles/ui/widgets/label_with_custom_emoji.cpp ++index 4502d65..bba774d 100644 ++--- a/Telegram/SourceFiles/ui/widgets/label_with_custom_emoji.cpp +++++ b/Telegram/SourceFiles/ui/widgets/label_with_custom_emoji.cpp ++@@ -1,3 +1,4 @@ +++#include "ui/ui_pch.h" ++ /* ++ This file is part of Telegram Desktop, ++ the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/widgets/level_meter.cpp b/Telegram/SourceFiles/ui/widgets/level_meter.cpp -+index 15acd28..04e088f 100644 ++index 7a94b8c..7b93f5e 100644 +--- a/Telegram/SourceFiles/ui/widgets/level_meter.cpp ++++ b/Telegram/SourceFiles/ui/widgets/level_meter.cpp +@@ -1,3 +1,4 @@ @@ -8352,7 +8392,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/window/notifications_manager.cpp b/Telegram/SourceFiles/window/notifications_manager.cpp -+index 9ab93b9..6b5f986 100644 ++index 052abca..fc2db11 100644 +--- a/Telegram/SourceFiles/window/notifications_manager.cpp ++++ b/Telegram/SourceFiles/window/notifications_manager.cpp +@@ -1,3 +1,4 @@ @@ -8379,7 +8419,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/window/section_widget.cpp b/Telegram/SourceFiles/window/section_widget.cpp -+index 18f3f7d..fc1b849 100644 ++index ae24ad4..5b131e9 100644 +--- a/Telegram/SourceFiles/window/section_widget.cpp ++++ b/Telegram/SourceFiles/window/section_widget.cpp +@@ -1,3 +1,4 @@ @@ -8388,7 +8428,7 @@ index 0000000..03d6fc5 + 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 b225b32..48b9a42 100644 ++index 450cfe5..12d3a22 100644 +--- a/Telegram/SourceFiles/window/themes/window_theme.cpp ++++ b/Telegram/SourceFiles/window/themes/window_theme.cpp +@@ -1,3 +1,4 @@ @@ -8514,7 +8554,7 @@ index 0000000..03d6fc5 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/window/window_lock_widgets.cpp b/Telegram/SourceFiles/window/window_lock_widgets.cpp -+index 813db80..d05c80f 100644 ++index 58f4881..8e25229 100644 +--- a/Telegram/SourceFiles/window/window_lock_widgets.cpp ++++ b/Telegram/SourceFiles/window/window_lock_widgets.cpp +@@ -1,3 +1,4 @@ @@ -8532,7 +8572,7 @@ index 0000000..03d6fc5 + 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 88c0af4..bbcbdce 100644 ++index b70fb83..bf8556e 100644 +--- a/Telegram/SourceFiles/window/window_main_menu_helpers.cpp ++++ b/Telegram/SourceFiles/window/window_main_menu_helpers.cpp +@@ -1,3 +1,4 @@ @@ -8550,7 +8590,7 @@ index 0000000..03d6fc5 + 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 c3c0950..c845660 100644 ++index 7648e45..4344b4b 100644 +--- a/Telegram/SourceFiles/window/window_peer_menu.cpp ++++ b/Telegram/SourceFiles/window/window_peer_menu.cpp +@@ -1,3 +1,4 @@ @@ -8559,7 +8599,7 @@ index 0000000..03d6fc5 + 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 47cf532..3a136c2 100644 ++index 7726234..de8807b 100644 +--- a/Telegram/SourceFiles/window/window_session_controller.cpp ++++ b/Telegram/SourceFiles/window/window_session_controller.cpp +@@ -1,3 +1,4 @@ @@ -8891,24 +8931,6 @@ index 0000000..03d6fc5 + // This file is part of Desktop App Toolkit, + // a set of libraries for developing nice desktop applications. + // -+diff --git a/Telegram/lib_base/base/platform/linux/base_linux_wayland_integration.cpp b/Telegram/lib_base/base/platform/linux/base_linux_wayland_integration.cpp -+index 3966b19..7e1102a 100644 -+--- a/Telegram/lib_base/base/platform/linux/base_linux_wayland_integration.cpp -++++ b/Telegram/lib_base/base/platform/linux/base_linux_wayland_integration.cpp -+@@ -1,3 +1,4 @@ -++#include "base/base_pch.h" -+ // This file is part of Desktop App Toolkit, -+ // a set of libraries for developing nice desktop applications. -+ // -+diff --git a/Telegram/lib_base/base/platform/linux/base_linux_wayland_integration_dummy.cpp b/Telegram/lib_base/base/platform/linux/base_linux_wayland_integration_dummy.cpp -+index cb1cdec..b08c194 100644 -+--- a/Telegram/lib_base/base/platform/linux/base_linux_wayland_integration_dummy.cpp -++++ b/Telegram/lib_base/base/platform/linux/base_linux_wayland_integration_dummy.cpp -+@@ -1,3 +1,4 @@ -++#include "base/base_pch.h" -+ // This file is part of Desktop App Toolkit, -+ // a set of libraries for developing nice desktop applications. -+ // +diff --git a/Telegram/lib_base/base/platform/linux/base_linux_xcb_utilities.cpp b/Telegram/lib_base/base/platform/linux/base_linux_xcb_utilities.cpp +index e960dca..016842f 100644 +--- a/Telegram/lib_base/base/platform/linux/base_linux_xcb_utilities.cpp @@ -8955,7 +8977,7 @@ index 0000000..03d6fc5 + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_base/base/platform/linux/base_power_save_blocker_linux.cpp b/Telegram/lib_base/base/platform/linux/base_power_save_blocker_linux.cpp -+index dce45d2..22d9146 100644 ++index 3015247..df0519e 100644 +--- a/Telegram/lib_base/base/platform/linux/base_power_save_blocker_linux.cpp ++++ b/Telegram/lib_base/base/platform/linux/base_power_save_blocker_linux.cpp +@@ -1,3 +1,4 @@ @@ -9523,7 +9545,7 @@ index 0000000..03d6fc5 + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/effects/animations.cpp b/Telegram/lib_ui/ui/effects/animations.cpp -+index b0c69d9..3c9fb43 100644 ++index 3fb737a..8acf7ba 100644 +--- a/Telegram/lib_ui/ui/effects/animations.cpp ++++ b/Telegram/lib_ui/ui/effects/animations.cpp +@@ -1,3 +1,4 @@ @@ -9532,7 +9554,7 @@ index 0000000..03d6fc5 + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/effects/cross_animation.cpp b/Telegram/lib_ui/ui/effects/cross_animation.cpp -+index 18a9cd4..9744eaf 100644 ++index e847ab3..13c5237 100644 +--- a/Telegram/lib_ui/ui/effects/cross_animation.cpp ++++ b/Telegram/lib_ui/ui/effects/cross_animation.cpp +@@ -1,3 +1,4 @@ @@ -9604,7 +9626,7 @@ index 0000000..03d6fc5 + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/effects/radial_animation.cpp b/Telegram/lib_ui/ui/effects/radial_animation.cpp -+index 2ae1d53..c47b0ee 100644 ++index 8de21b6..7a4306d 100644 +--- a/Telegram/lib_ui/ui/effects/radial_animation.cpp ++++ b/Telegram/lib_ui/ui/effects/radial_animation.cpp +@@ -1,3 +1,4 @@ @@ -9757,7 +9779,7 @@ index 0000000..03d6fc5 + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/layers/box_content.cpp b/Telegram/lib_ui/ui/layers/box_content.cpp -+index fdaa06c..3733b49 100644 ++index 1dc17f4..72aae75 100644 +--- a/Telegram/lib_ui/ui/layers/box_content.cpp ++++ b/Telegram/lib_ui/ui/layers/box_content.cpp +@@ -1,3 +1,4 @@ @@ -9964,7 +9986,7 @@ index 0000000..03d6fc5 + // 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 41b24bc..665041b 100644 ++index 0b57704..4b30839 100644 +--- a/Telegram/lib_ui/ui/rp_widget.cpp ++++ b/Telegram/lib_ui/ui/rp_widget.cpp +@@ -1,3 +1,4 @@ @@ -9973,7 +9995,7 @@ index 0000000..03d6fc5 + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/style/style_core.cpp b/Telegram/lib_ui/ui/style/style_core.cpp -+index 8015bf3..b4bc992 100644 ++index e589944..da59c94 100644 +--- a/Telegram/lib_ui/ui/style/style_core.cpp ++++ b/Telegram/lib_ui/ui/style/style_core.cpp +@@ -1,3 +1,4 @@ @@ -9990,15 +10012,6 @@ index 0000000..03d6fc5 + // This file is part of Desktop App Toolkit, + // a set of libraries for developing nice desktop applications. + // -+diff --git a/Telegram/lib_ui/ui/style/style_core_custom_font.cpp b/Telegram/lib_ui/ui/style/style_core_custom_font.cpp -+index 0ad0fdf..286e467 100644 -+--- a/Telegram/lib_ui/ui/style/style_core_custom_font.cpp -++++ b/Telegram/lib_ui/ui/style/style_core_custom_font.cpp -+@@ -1,3 +1,4 @@ -++#include "ui/ui_pch.h" -+ // This file is part of Desktop App Toolkit, -+ // a set of libraries for developing nice desktop applications. -+ // +diff --git a/Telegram/lib_ui/ui/style/style_core_direction.cpp b/Telegram/lib_ui/ui/style/style_core_direction.cpp +index b8def89..0eb27fa 100644 +--- a/Telegram/lib_ui/ui/style/style_core_direction.cpp @@ -10009,7 +10022,7 @@ index 0000000..03d6fc5 + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/style/style_core_font.cpp b/Telegram/lib_ui/ui/style/style_core_font.cpp -+index a10d43a..ab24f9f 100644 ++index 626ba05..11af3fd 100644 +--- a/Telegram/lib_ui/ui/style/style_core_font.cpp ++++ b/Telegram/lib_ui/ui/style/style_core_font.cpp +@@ -1,3 +1,4 @@ @@ -10018,7 +10031,7 @@ index 0000000..03d6fc5 + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/style/style_core_icon.cpp b/Telegram/lib_ui/ui/style/style_core_icon.cpp -+index 3ddc9ee..ef62ee2 100644 ++index 3f00b90..99b2105 100644 +--- a/Telegram/lib_ui/ui/style/style_core_icon.cpp ++++ b/Telegram/lib_ui/ui/style/style_core_icon.cpp +@@ -1,3 +1,4 @@ @@ -10027,7 +10040,7 @@ index 0000000..03d6fc5 + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/style/style_core_palette.cpp b/Telegram/lib_ui/ui/style/style_core_palette.cpp -+index 687c764..6c17bec 100644 ++index bad3e65..9600496 100644 +--- a/Telegram/lib_ui/ui/style/style_core_palette.cpp ++++ b/Telegram/lib_ui/ui/style/style_core_palette.cpp +@@ -1,3 +1,4 @@ @@ -10081,7 +10094,7 @@ index 0000000..03d6fc5 + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/text/text_block.cpp b/Telegram/lib_ui/ui/text/text_block.cpp -+index afe8fb7..cb477a4 100644 ++index 9403e8b..b5e3813 100644 +--- a/Telegram/lib_ui/ui/text/text_block.cpp ++++ b/Telegram/lib_ui/ui/text/text_block.cpp +@@ -1,3 +1,4 @@ @@ -10117,7 +10130,7 @@ index 0000000..03d6fc5 + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/text/text_parser.cpp b/Telegram/lib_ui/ui/text/text_parser.cpp -+index 816eab6..6db16e2 100644 ++index 4bb48b0..0dc0c16 100644 +--- a/Telegram/lib_ui/ui/text/text_parser.cpp ++++ b/Telegram/lib_ui/ui/text/text_parser.cpp +@@ -1,3 +1,4 @@ @@ -10126,7 +10139,7 @@ index 0000000..03d6fc5 + // 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 58e72bd..c15afc4 100644 ++index 397c22a..9022f8f 100644 +--- a/Telegram/lib_ui/ui/text/text_renderer.cpp ++++ b/Telegram/lib_ui/ui/text/text_renderer.cpp +@@ -1,3 +1,4 @@ @@ -10198,7 +10211,7 @@ index 0000000..03d6fc5 + // 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 389f957..aa33705 100644 ++index bc1e439..1791882 100644 +--- a/Telegram/lib_ui/ui/widgets/buttons.cpp ++++ b/Telegram/lib_ui/ui/widgets/buttons.cpp +@@ -1,3 +1,4 @@ @@ -10243,7 +10256,7 @@ index 0000000..03d6fc5 + // 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 5a273c1..f59237e 100644 ++index f582279..de00500 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 @@ @@ -10252,7 +10265,7 @@ index 0000000..03d6fc5 + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/widgets/fields/masked_input_field.cpp b/Telegram/lib_ui/ui/widgets/fields/masked_input_field.cpp -+index 2a9112d..354671a 100644 ++index dde671a..766dcdd 100644 +--- a/Telegram/lib_ui/ui/widgets/fields/masked_input_field.cpp ++++ b/Telegram/lib_ui/ui/widgets/fields/masked_input_field.cpp +@@ -1,3 +1,4 @@ @@ -10288,7 +10301,7 @@ index 0000000..03d6fc5 + // 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 5ca80a8..5d537c1 100644 ++index a2e7b40..3e8bf60 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 @@ @@ -10315,7 +10328,7 @@ index 0000000..03d6fc5 + // 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 8b75997..42900d8 100644 ++index a1aaeb2..ccb3d44 100644 +--- a/Telegram/lib_ui/ui/widgets/labels.cpp ++++ b/Telegram/lib_ui/ui/widgets/labels.cpp +@@ -1,3 +1,4 @@ @@ -10351,7 +10364,7 @@ index 0000000..03d6fc5 + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/widgets/menu/menu_add_action_callback_factory.cpp b/Telegram/lib_ui/ui/widgets/menu/menu_add_action_callback_factory.cpp -+index 5429d61..33dd0b0 100644 ++index e120843..5cf3464 100644 +--- a/Telegram/lib_ui/ui/widgets/menu/menu_add_action_callback_factory.cpp ++++ b/Telegram/lib_ui/ui/widgets/menu/menu_add_action_callback_factory.cpp +@@ -1,3 +1,4 @@ @@ -10423,7 +10436,7 @@ index 0000000..03d6fc5 + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/widgets/scroll_area.cpp b/Telegram/lib_ui/ui/widgets/scroll_area.cpp -+index 81fc8bf..f2f06a2 100644 ++index c8acf08..cc75682 100644 +--- a/Telegram/lib_ui/ui/widgets/scroll_area.cpp ++++ b/Telegram/lib_ui/ui/widgets/scroll_area.cpp +@@ -1,3 +1,4 @@ @@ -10459,7 +10472,7 @@ index 0000000..03d6fc5 + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/widgets/time_input.cpp b/Telegram/lib_ui/ui/widgets/time_input.cpp -+index 66041e6..2e77d9f 100644 ++index b21f54e..7d13be9 100644 +--- a/Telegram/lib_ui/ui/widgets/time_input.cpp ++++ b/Telegram/lib_ui/ui/widgets/time_input.cpp +@@ -1,3 +1,4 @@ diff --git a/net-im/telegram-desktop/patches/telegram_desktop-4.16.6.patchset b/net-im/telegram-desktop/patches/telegram_desktop-5.0.1.patchset similarity index 94% rename from net-im/telegram-desktop/patches/telegram_desktop-4.16.6.patchset rename to net-im/telegram-desktop/patches/telegram_desktop-5.0.1.patchset index 0cb89a901..cff6c36e9 100644 --- a/net-im/telegram-desktop/patches/telegram_desktop-4.16.6.patchset +++ b/net-im/telegram-desktop/patches/telegram_desktop-5.0.1.patchset @@ -1,11 +1,11 @@ -From 3c04c33ea44f0c33d83afc1b65a81dc7c6ffee0a Mon Sep 17 00:00:00 2001 +From 03c1778982d17224751dd9369f57fd24b4ac3dba Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> -Date: Mon, 15 Apr 2024 18:02:44 +1000 +Date: Mon, 6 May 2024 19:24:35 +1000 Subject: Add haiku support diff --git a/CMakeLists.txt b/CMakeLists.txt -index 3bf1369..2f75e69 100644 +index 4e2ac34..648adfd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,12 +27,12 @@ elseif (LINUX) @@ -138,7 +138,7 @@ index 0000000..e5f8b64 + +resource("BEOS:default_shortcut") "S"; diff --git a/Telegram/CMakeLists.txt b/Telegram/CMakeLists.txt -index 2e26bf4..c4dbcfb 100644 +index 2f42270..350b113 100644 --- a/Telegram/CMakeLists.txt +++ b/Telegram/CMakeLists.txt @@ -93,6 +93,15 @@ PRIVATE @@ -157,13 +157,12 @@ index 2e26bf4..c4dbcfb 100644 target_precompile_headers(Telegram PRIVATE $<$:${src_loc}/stdafx.h>) nice_target_sources(Telegram ${src_loc} PRIVATE -@@ -1556,6 +1565,17 @@ if (NOT build_winstore) +@@ -1559,6 +1568,16 @@ if (NOT build_winstore) ) endif() +if (HAIKU) + remove_target_sources(Telegram ${src_loc} -+ platform/linux/notifications_manager_linux_dummy.cpp + platform/linux/notifications_manager_linux.cpp + ) + nice_target_sources(Telegram ${src_loc} @@ -172,10 +171,10 @@ index 2e26bf4..c4dbcfb 100644 + ) +endif() + - if (DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION) + if (DESKTOP_APP_USE_PACKAGED) remove_target_sources(Telegram ${src_loc} - platform/linux/linux_wayland_integration.cpp -@@ -1741,7 +1761,7 @@ else() + platform/mac/mac_iconv_helper.c +@@ -1721,7 +1740,7 @@ else() set(bundle_identifier "com.tdesktop.Telegram") endif() set(bundle_entitlements "Telegram.entitlements") @@ -205,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 93e0727..33aa2ca 100644 +index 9ebd488..4b51d48 100644 --- a/Telegram/SourceFiles/core/core_settings.h +++ b/Telegram/SourceFiles/core/core_settings.h -@@ -964,7 +964,7 @@ private: +@@ -972,7 +972,7 @@ private: rpl::variable _dialogsWidthRatio; // per-window rpl::variable _thirdColumnWidth = kDefaultThirdColumnWidth; // p-w bool _notifyFromAll = true; @@ -218,10 +217,10 @@ index 93e0727..33aa2ca 100644 rpl::variable _systemDarkModeEnabled = false; rpl::variable _windowTitleContent; diff --git a/Telegram/SourceFiles/core/sandbox.cpp b/Telegram/SourceFiles/core/sandbox.cpp -index 6feacdb..38f5f23 100644 +index 3daf917..0876c08 100644 --- a/Telegram/SourceFiles/core/sandbox.cpp +++ b/Telegram/SourceFiles/core/sandbox.cpp -@@ -234,7 +234,7 @@ void Sandbox::setupScreenScale() { +@@ -233,7 +233,7 @@ void Sandbox::setupScreenScale() { const auto screen = Sandbox::primaryScreen(); const auto dpi = screen->logicalDotsPerInch(); @@ -230,7 +229,7 @@ index 6feacdb..38f5f23 100644 const auto base = (basePair.first + basePair.second) * 0.5; const auto screenScaleExact = dpi / base; const auto screenScale = int(base::SafeRound(screenScaleExact * 20)) * 5; -@@ -257,9 +257,12 @@ Sandbox::~Sandbox() = default; +@@ -256,9 +256,12 @@ Sandbox::~Sandbox() = default; bool Sandbox::event(QEvent *e) { if (e->type() == QEvent::Quit && !Quitting()) { @@ -246,7 +245,7 @@ index 6feacdb..38f5f23 100644 } else if (e->type() == QEvent::Close) { Quit(); } else if (e->type() == DeadlockDetector::PingPongEvent::Type()) { -@@ -273,7 +276,7 @@ bool Sandbox::event(QEvent *e) { +@@ -272,7 +275,7 @@ bool Sandbox::event(QEvent *e) { void Sandbox::socketConnected() { LOG(("Socket connected, this is not the first application instance, sending show command...")); _secondInstance = true; @@ -255,6 +254,58 @@ index 6feacdb..38f5f23 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/platform/linux/file_utilities_linux.cpp b/Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp +index d79e477..9d9b67e 100644 +--- a/Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp ++++ b/Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp +@@ -16,6 +16,15 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL + #include + #include + ++#ifdef Q_OS_HAIKU ++#include ++#include ++#include ++#include ++#include ++#include ++#endif ++ + namespace Platform { + namespace File { + namespace { +@@ -26,6 +35,22 @@ using base::Platform::XdgActivationToken; + } // namespace + + bool UnsafeShowOpenWith(const QString &filepath) { ++#ifdef Q_OS_HAIKU ++ BMessenger trackerMessenger("application/x-vnd.Be-TRAK"); ++ if (trackerMessenger.IsValid()) { ++ update_mime_info(filepath.toUtf8().data(), false, true, false); ++ ++ BEntry fileEntry(filepath.toUtf8().data()); ++ entry_ref fileRef; ++ if (fileEntry.GetRef(&fileRef) == B_OK) { ++ BMessage openCommand(B_REFS_RECEIVED); ++ openCommand.AddRef("refs", &fileRef); ++ openCommand.AddInt32("launchUsingSelector", 0); ++ if (trackerMessenger.SendMessage(&openCommand) == B_OK) ++ return true; ++ } ++ } ++#else + auto proxy = XdpOpenURI::OpenURIProxy::new_for_bus_sync( + Gio::BusType::SESSION_, + Gio::DBusProxyFlags::NONE_, +@@ -119,7 +144,7 @@ bool UnsafeShowOpenWith(const QString &filepath) { + window.setWindowModality(Qt::ApplicationModal); + window.show(); + loop.run(); +- ++#endif + return true; + } + diff --git a/Telegram/SourceFiles/platform/linux/integration_linux.cpp b/Telegram/SourceFiles/platform/linux/integration_linux.cpp index b2a8cf6..71882ef 100644 --- a/Telegram/SourceFiles/platform/linux/integration_linux.cpp @@ -287,63 +338,11 @@ index b2a8cf6..71882ef 100644 } // namespace std::unique_ptr CreateIntegration() { -diff --git a/Telegram/SourceFiles/platform/linux/linux_xdp_open_with_dialog.cpp b/Telegram/SourceFiles/platform/linux/linux_xdp_open_with_dialog.cpp -index 9e409b9..26a0700 100644 ---- a/Telegram/SourceFiles/platform/linux/linux_xdp_open_with_dialog.cpp -+++ b/Telegram/SourceFiles/platform/linux/linux_xdp_open_with_dialog.cpp -@@ -16,6 +16,15 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL - #include - #include - -+#ifdef Q_OS_HAIKU -+#include -+#include -+#include -+#include -+#include -+#include -+#endif -+ - namespace Platform { - namespace File { - namespace internal { -@@ -27,6 +36,22 @@ using base::Platform::XdgActivationToken; - } // namespace - - bool ShowXDPOpenWithDialog(const QString &filepath) { -+#ifdef Q_OS_HAIKU -+ BMessenger trackerMessenger("application/x-vnd.Be-TRAK"); -+ if (trackerMessenger.IsValid()) { -+ update_mime_info(filepath.toUtf8().data(), false, true, false); -+ -+ BEntry fileEntry(filepath.toUtf8().data()); -+ entry_ref fileRef; -+ if (fileEntry.GetRef(&fileRef) == B_OK) { -+ BMessage openCommand(B_REFS_RECEIVED); -+ openCommand.AddRef("refs", &fileRef); -+ openCommand.AddInt32("launchUsingSelector", 0); -+ if (trackerMessenger.SendMessage(&openCommand) == B_OK) -+ return true; -+ } -+ } -+#else - auto proxy = XdpOpenURI::OpenURIProxy::new_for_bus_sync( - Gio::BusType::SESSION_, - Gio::DBusProxyFlags::NONE_, -@@ -120,7 +145,7 @@ bool ShowXDPOpenWithDialog(const QString &filepath) { - window.setWindowModality(Qt::ApplicationModal); - window.show(); - loop.run(); -- -+#endif - return true; - } - diff --git a/Telegram/SourceFiles/platform/linux/main_window_linux.cpp b/Telegram/SourceFiles/platform/linux/main_window_linux.cpp -index e6a3b68..d4f771f 100644 +index ba73e3b..a95a647 100644 --- a/Telegram/SourceFiles/platform/linux/main_window_linux.cpp +++ b/Telegram/SourceFiles/platform/linux/main_window_linux.cpp -@@ -36,6 +36,10 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL +@@ -35,6 +35,10 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include "base/platform/linux/base_linux_xcb_utilities.h" #endif // !DESKTOP_APP_DISABLE_X11_INTEGRATION @@ -354,7 +353,7 @@ index e6a3b68..d4f771f 100644 #include #include #include -@@ -220,6 +224,12 @@ void MainWindow::workmodeUpdated(Core::Settings::WorkMode mode) { +@@ -173,6 +177,12 @@ void MainWindow::workmodeUpdated(Core::Settings::WorkMode mode) { SkipTaskbar(windowHandle(), mode == WorkMode::TrayOnly); } @@ -682,10 +681,10 @@ 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 29b8879..f559014 100644 +index c874ae7..80072c8 100644 --- a/Telegram/SourceFiles/platform/linux/specific_linux.cpp +++ b/Telegram/SourceFiles/platform/linux/specific_linux.cpp -@@ -26,6 +26,10 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL +@@ -25,6 +25,10 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include "base/platform/linux/base_linux_xcb_utilities.h" #endif // !DESKTOP_APP_DISABLE_X11_INTEGRATION @@ -696,7 +695,7 @@ index 29b8879..f559014 100644 #include #include #include -@@ -49,6 +53,33 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL +@@ -48,6 +52,33 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include namespace { @@ -730,7 +729,7 @@ index 29b8879..f559014 100644 using namespace gi::repository; namespace GObject = gi::repository::GObject; -@@ -525,6 +556,10 @@ bool AutostartSupported() { +@@ -523,6 +554,10 @@ bool AutostartSupported() { } void AutostartToggle(bool enabled, Fn done) { @@ -741,7 +740,7 @@ index 29b8879..f559014 100644 if (KSandbox::isFlatpak()) { PortalAutostart(enabled, done); return; -@@ -552,6 +587,7 @@ void AutostartToggle(bool enabled, Fn done) { +@@ -550,6 +585,7 @@ void AutostartToggle(bool enabled, Fn done) { if (done) { done(enabled && success); } @@ -749,7 +748,7 @@ index 29b8879..f559014 100644 } bool AutostartSkip() { -@@ -617,7 +653,11 @@ QString psAppDataPath() { +@@ -611,7 +647,11 @@ QString psAppDataPath() { } } @@ -761,7 +760,7 @@ index 29b8879..f559014 100644 } void psDoCleanup() { -@@ -727,6 +767,7 @@ bool OpenSystemSettings(SystemSettingsType type) { +@@ -721,6 +761,7 @@ bool OpenSystemSettings(SystemSettingsType type) { } options.push_back(std::move(command)); }; @@ -769,7 +768,7 @@ index 29b8879..f559014 100644 add("unity-control-center", "sound"); add("kcmshell6", "kcm_pulseaudio"); add("kcmshell5", "kcm_pulseaudio"); -@@ -736,7 +777,7 @@ bool OpenSystemSettings(SystemSettingsType type) { +@@ -730,7 +771,7 @@ bool OpenSystemSettings(SystemSettingsType type) { add("mate-volume-control"); add("pavucontrol-qt"); add("pavucontrol"); @@ -1028,10 +1027,10 @@ index af97691..1a0f256 100644 #include diff --git a/Telegram/lib_base/base/platform/linux/base_power_save_blocker_linux.cpp b/Telegram/lib_base/base/platform/linux/base_power_save_blocker_linux.cpp -index 3d851b8..dce45d2 100644 +index cb992b0..3015247 100644 --- a/Telegram/lib_base/base/platform/linux/base_power_save_blocker_linux.cpp +++ b/Telegram/lib_base/base/platform/linux/base_power_save_blocker_linux.cpp -@@ -17,6 +17,10 @@ +@@ -16,6 +16,10 @@ #include "base/platform/linux/base_linux_xcb_utilities.h" #endif // !DESKTOP_APP_DISABLE_X11_INTEGRATION @@ -1191,7 +1190,7 @@ index 6e19fcf..e7a6990 100644 #include "webrtc/webrtc_device_common.h" diff --git a/cmake/external/CMakeLists.txt b/cmake/external/CMakeLists.txt -index d9af92a..cd4ba1d 100644 +index a8406e1..3eb0414 100644 --- a/cmake/external/CMakeLists.txt +++ b/cmake/external/CMakeLists.txt @@ -18,7 +18,7 @@ if (add_cld3_library) diff --git a/net-im/telegram-desktop/telegram_desktop-4.16.6.recipe b/net-im/telegram-desktop/telegram_desktop-5.0.1.recipe similarity index 98% rename from net-im/telegram-desktop/telegram_desktop-4.16.6.recipe rename to net-im/telegram-desktop/telegram_desktop-5.0.1.recipe index 01da7cf09..8e0a3247f 100644 --- a/net-im/telegram-desktop/telegram_desktop-4.16.6.recipe +++ b/net-im/telegram-desktop/telegram_desktop-5.0.1.recipe @@ -3,9 +3,9 @@ DESCRIPTION="Unofficial build of the original Telegram client for Haiku." HOMEPAGE="https://www.telegram.org/" COPYRIGHT="2013-2024 Telegram" LICENSE="GNU GPL v3" -REVISION="2" +REVISION="1" SOURCE_URI="https://github.com/telegramdesktop/tdesktop/releases/download/v$portVersion/tdesktop-$portVersion-full.tar.gz" -CHECKSUM_SHA256="5a4dead506eb7c6458d98e8d12dd0f5f9321ec470e93019f9a6d6e816d67dd59" +CHECKSUM_SHA256="728bf0cf4c795ef3c481c958ab9b2a8e4799679f6ad7e823723b984dd3ce72d8" SOURCE_FILENAME="tdesktop-$portVersion-full.tar.gz" SOURCE_DIR="tdesktop-$portVersion-full" srcGitRev_2="2b383fe05f8ae78ac99470b9a2b9ea22b3ee5a92"