From 48d8b2d372bc273ba60c5b16775693dbd5c35a8a Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> Date: Fri, 24 Jan 2025 14:10:34 +1000 Subject: [PATCH] Telegram: bump version --- ...0.3.patchset => libtgvoip-5.10.4.patchset} | 4 +- ...3.patchset => pch_disable-5.10.4.patchset} | 270 +++++++++--------- ...chset => telegram_desktop-5.10.4.patchset} | 75 ++--- ....recipe => telegram_desktop-5.10.4.recipe} | 2 +- 4 files changed, 169 insertions(+), 182 deletions(-) rename net-im/telegram-desktop/patches/{libtgvoip-5.10.3.patchset => libtgvoip-5.10.4.patchset} (99%) rename net-im/telegram-desktop/patches/{pch_disable-5.10.3.patchset => pch_disable-5.10.4.patchset} (99%) rename net-im/telegram-desktop/patches/{telegram_desktop-5.10.3.patchset => telegram_desktop-5.10.4.patchset} (96%) rename net-im/telegram-desktop/{telegram_desktop-5.10.3.recipe => telegram_desktop-5.10.4.recipe} (98%) diff --git a/net-im/telegram-desktop/patches/libtgvoip-5.10.3.patchset b/net-im/telegram-desktop/patches/libtgvoip-5.10.4.patchset similarity index 99% rename from net-im/telegram-desktop/patches/libtgvoip-5.10.3.patchset rename to net-im/telegram-desktop/patches/libtgvoip-5.10.4.patchset index 7b10f311e..4402b9147 100644 --- a/net-im/telegram-desktop/patches/libtgvoip-5.10.3.patchset +++ b/net-im/telegram-desktop/patches/libtgvoip-5.10.4.patchset @@ -1,6 +1,6 @@ -From 3ef02ad652b4201a8bafe066e569489a57eaf6e1 Mon Sep 17 00:00:00 2001 +From c3951a57c92553cff922a3ff14fbfbe778ce5ab6 Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> -Date: Wed, 8 Jan 2025 23:15:30 +0000 +Date: Thu, 23 Jan 2025 23:27:06 +0000 Subject: Add haiku support diff --git a/net-im/telegram-desktop/patches/pch_disable-5.10.3.patchset b/net-im/telegram-desktop/patches/pch_disable-5.10.4.patchset similarity index 99% rename from net-im/telegram-desktop/patches/pch_disable-5.10.3.patchset rename to net-im/telegram-desktop/patches/pch_disable-5.10.4.patchset index e41d5cac8..94beada81 100644 --- a/net-im/telegram-desktop/patches/pch_disable-5.10.3.patchset +++ b/net-im/telegram-desktop/patches/pch_disable-5.10.4.patchset @@ -1,15 +1,15 @@ -From 48aed38304e2a48438c3819eb84c2c5379c082d2 Mon Sep 17 00:00:00 2001 +From 8d45b75307876b562feb61aa469f50b2570d6ac5 Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> -Date: Thu, 9 Jan 2025 01:03:41 +0000 +Date: Fri, 24 Jan 2025 00:33:48 +0000 Subject: Add PCH file diff --git a/pch_disable.patchset b/pch_disable.patchset new file mode 100644 -index 0000000..3f65a10 +index 0000000..a4a93d3 --- /dev/null +++ b/pch_disable.patchset -@@ -0,0 +1,11385 @@ +@@ -0,0 +1,11395 @@ +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 @@ -83,7 +83,7 @@ index 0000000..3f65a10 + 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 10663d1..67535e5 100644 ++index 4783907..b8097a0 100644 +--- a/Telegram/SourceFiles/api/api_chat_participants.cpp ++++ b/Telegram/SourceFiles/api/api_chat_participants.cpp +@@ -1,3 +1,4 @@ @@ -119,7 +119,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/api/api_credits.cpp b/Telegram/SourceFiles/api/api_credits.cpp -+index 7d17ca4..4c012c3 100644 ++index bdb10d0..09f3c96 100644 +--- a/Telegram/SourceFiles/api/api_credits.cpp ++++ b/Telegram/SourceFiles/api/api_credits.cpp +@@ -1,3 +1,4 @@ @@ -137,7 +137,7 @@ index 0000000..3f65a10 + 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 662bfc9..6f97edc 100644 ++index 313d6bf..3b60127 100644 +--- a/Telegram/SourceFiles/api/api_editing.cpp ++++ b/Telegram/SourceFiles/api/api_editing.cpp +@@ -1,3 +1,4 @@ @@ -173,7 +173,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/api/api_media.cpp b/Telegram/SourceFiles/api/api_media.cpp -+index 22fc376..47d6083 100644 ++index 3bbc00f..49f2f09 100644 +--- a/Telegram/SourceFiles/api/api_media.cpp ++++ b/Telegram/SourceFiles/api/api_media.cpp +@@ -1,3 +1,4 @@ @@ -182,7 +182,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/api/api_messages_search.cpp b/Telegram/SourceFiles/api/api_messages_search.cpp -+index 4fbcaeb..bf03103 100644 ++index 8bc7a4e..8f22366 100644 +--- a/Telegram/SourceFiles/api/api_messages_search.cpp ++++ b/Telegram/SourceFiles/api/api_messages_search.cpp +@@ -1,3 +1,4 @@ @@ -191,7 +191,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/api/api_messages_search_merged.cpp b/Telegram/SourceFiles/api/api_messages_search_merged.cpp -+index 1990cfd..8e2b25a 100644 ++index 5a26e43..a808ebf 100644 +--- a/Telegram/SourceFiles/api/api_messages_search_merged.cpp ++++ b/Telegram/SourceFiles/api/api_messages_search_merged.cpp +@@ -1,3 +1,4 @@ @@ -227,7 +227,7 @@ index 0000000..3f65a10 + 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 682f34c..cffd641 100644 ++index 58b2d46..b8b6079 100644 +--- a/Telegram/SourceFiles/api/api_premium.cpp ++++ b/Telegram/SourceFiles/api/api_premium.cpp +@@ -1,3 +1,4 @@ @@ -281,7 +281,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/api/api_sending.cpp b/Telegram/SourceFiles/api/api_sending.cpp -+index d0b897a..97ec4c2 100644 ++index 193e2e7..98dd59e 100644 +--- a/Telegram/SourceFiles/api/api_sending.cpp ++++ b/Telegram/SourceFiles/api/api_sending.cpp +@@ -1,3 +1,4 @@ @@ -425,7 +425,7 @@ index 0000000..3f65a10 + 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 fb95845..6680754 100644 ++index d15a73f..f7635a5 100644 +--- a/Telegram/SourceFiles/apiwrap.cpp ++++ b/Telegram/SourceFiles/apiwrap.cpp +@@ -1,3 +1,4 @@ @@ -646,7 +646,7 @@ index 0000000..3f65a10 + 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 2b396ae..dbffd8e 100644 ++index bc226f6..ced0250 100644 +--- a/Telegram/SourceFiles/boxes/gift_premium_box.cpp ++++ b/Telegram/SourceFiles/boxes/gift_premium_box.cpp +@@ -1,3 +1,5 @@ @@ -788,7 +788,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/peers/edit_forum_topic_box.cpp b/Telegram/SourceFiles/boxes/peers/edit_forum_topic_box.cpp -+index be668fc..a97d0ef 100644 ++index fe67553..d879fba 100644 +--- a/Telegram/SourceFiles/boxes/peers/edit_forum_topic_box.cpp ++++ b/Telegram/SourceFiles/boxes/peers/edit_forum_topic_box.cpp +@@ -1,3 +1,6 @@ @@ -843,7 +843,7 @@ index 0000000..3f65a10 + 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 b2e292a..e5d0558 100644 ++index 8b827dc..ada83eb 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 @@ @@ -864,7 +864,7 @@ index 0000000..3f65a10 + 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 7fea20e..3f5cbc5 100644 ++index 6101f98..9639e50 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 @@ @@ -875,7 +875,7 @@ index 0000000..3f65a10 + 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 29504ab..8da3926 100644 ++index 2797b53..e8aec39 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 @@ @@ -897,7 +897,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/peers/edit_peer_permissions_box.cpp b/Telegram/SourceFiles/boxes/peers/edit_peer_permissions_box.cpp -+index 2258f6c..3cd9df8 100644 ++index e703994..4271fe6 100644 +--- a/Telegram/SourceFiles/boxes/peers/edit_peer_permissions_box.cpp ++++ b/Telegram/SourceFiles/boxes/peers/edit_peer_permissions_box.cpp +@@ -1,3 +1,6 @@ @@ -908,7 +908,7 @@ index 0000000..3f65a10 + 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 f7b1a6b..4800e0c 100644 ++index 96ed8c9..03f9392 100644 +--- a/Telegram/SourceFiles/boxes/peers/edit_peer_reactions.cpp ++++ b/Telegram/SourceFiles/boxes/peers/edit_peer_reactions.cpp +@@ -1,3 +1,6 @@ @@ -963,7 +963,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/peers/prepare_short_info_box.cpp b/Telegram/SourceFiles/boxes/peers/prepare_short_info_box.cpp -+index 760a821..35709a4 100644 ++index 9341b70..a89416c 100644 +--- a/Telegram/SourceFiles/boxes/peers/prepare_short_info_box.cpp ++++ b/Telegram/SourceFiles/boxes/peers/prepare_short_info_box.cpp +@@ -1,3 +1,6 @@ @@ -1025,7 +1025,7 @@ index 0000000..3f65a10 + 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 2ef8076..38c634e 100644 ++index 570fb75..bf03f62 100644 +--- a/Telegram/SourceFiles/boxes/premium_preview_box.cpp ++++ b/Telegram/SourceFiles/boxes/premium_preview_box.cpp +@@ -1,3 +1,5 @@ @@ -1105,7 +1105,7 @@ index 0000000..3f65a10 + 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 ca3d9a9..6a1a347 100644 ++index be47e59..99a4e85 100644 +--- a/Telegram/SourceFiles/boxes/share_box.cpp ++++ b/Telegram/SourceFiles/boxes/share_box.cpp +@@ -1,3 +1,5 @@ @@ -1115,7 +1115,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/star_gift_box.cpp b/Telegram/SourceFiles/boxes/star_gift_box.cpp -+index 2ba9fdd..a01ebef 100644 ++index dbfa609..7d2e76d 100644 +--- a/Telegram/SourceFiles/boxes/star_gift_box.cpp ++++ b/Telegram/SourceFiles/boxes/star_gift_box.cpp +@@ -1,3 +1,5 @@ @@ -1125,7 +1125,7 @@ index 0000000..3f65a10 + 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 14902a9..6fda96d 100644 ++index 8ddbb77..6caa18c 100644 +--- a/Telegram/SourceFiles/boxes/sticker_set_box.cpp ++++ b/Telegram/SourceFiles/boxes/sticker_set_box.cpp +@@ -1,3 +1,5 @@ @@ -1145,7 +1145,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/transfer_gift_box.cpp b/Telegram/SourceFiles/boxes/transfer_gift_box.cpp -+index d92204e..445cf6c 100644 ++index 8d297bb..66886cc 100644 +--- a/Telegram/SourceFiles/boxes/transfer_gift_box.cpp ++++ b/Telegram/SourceFiles/boxes/transfer_gift_box.cpp +@@ -1,3 +1,5 @@ @@ -1383,7 +1383,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/calls/group/calls_group_settings.cpp b/Telegram/SourceFiles/calls/group/calls_group_settings.cpp -+index 980842b..bfe30c8 100644 ++index 2693393..e48e5cb 100644 +--- a/Telegram/SourceFiles/calls/group/calls_group_settings.cpp ++++ b/Telegram/SourceFiles/calls/group/calls_group_settings.cpp +@@ -1,3 +1,4 @@ @@ -1500,7 +1500,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/chat_helpers/compose/compose_show.cpp b/Telegram/SourceFiles/chat_helpers/compose/compose_show.cpp -+index ba904b7..d61b141 100644 ++index 192937b..4e88143 100644 +--- a/Telegram/SourceFiles/chat_helpers/compose/compose_show.cpp ++++ b/Telegram/SourceFiles/chat_helpers/compose/compose_show.cpp +@@ -1,3 +1,4 @@ @@ -1527,7 +1527,7 @@ index 0000000..3f65a10 + 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 7ea95f7..66cefc6 100644 ++index edfa0ff..5178458 100644 +--- a/Telegram/SourceFiles/chat_helpers/emoji_list_widget.cpp ++++ b/Telegram/SourceFiles/chat_helpers/emoji_list_widget.cpp +@@ -1,3 +1,4 @@ @@ -1581,7 +1581,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/chat_helpers/message_field.cpp b/Telegram/SourceFiles/chat_helpers/message_field.cpp -+index 9cc3a92..931899a 100644 ++index 0177e3b..94b8a56 100644 +--- a/Telegram/SourceFiles/chat_helpers/message_field.cpp ++++ b/Telegram/SourceFiles/chat_helpers/message_field.cpp +@@ -1,3 +1,4 @@ @@ -1644,7 +1644,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/chat_helpers/stickers_list_footer.cpp b/Telegram/SourceFiles/chat_helpers/stickers_list_footer.cpp -+index 2378654..cca5a51 100644 ++index 6ea61e0..4cee4b2 100644 +--- a/Telegram/SourceFiles/chat_helpers/stickers_list_footer.cpp ++++ b/Telegram/SourceFiles/chat_helpers/stickers_list_footer.cpp +@@ -1,3 +1,4 @@ @@ -1653,7 +1653,7 @@ index 0000000..3f65a10 + 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 8eb1658..2de346e 100644 ++index fed2bbd..85f7fcf 100644 +--- a/Telegram/SourceFiles/chat_helpers/stickers_list_widget.cpp ++++ b/Telegram/SourceFiles/chat_helpers/stickers_list_widget.cpp +@@ -1,3 +1,4 @@ @@ -1689,7 +1689,7 @@ index 0000000..3f65a10 + 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 8148b31..25d227f 100644 ++index f0900e9..43cd233 100644 +--- a/Telegram/SourceFiles/chat_helpers/tabbed_selector.cpp ++++ b/Telegram/SourceFiles/chat_helpers/tabbed_selector.cpp +@@ -1,3 +1,4 @@ @@ -1757,7 +1757,7 @@ index 0000000..3f65a10 + 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 3090ec1..d54c7c5 100644 ++index 60eac9d..86c5787 100644 +--- a/Telegram/SourceFiles/core/core_settings.cpp ++++ b/Telegram/SourceFiles/core/core_settings.cpp +@@ -1,3 +1,5 @@ @@ -1836,7 +1836,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/core/local_url_handlers.cpp b/Telegram/SourceFiles/core/local_url_handlers.cpp -+index fa45db8..320ba75 100644 ++index 3eda30a..04b31df 100644 +--- a/Telegram/SourceFiles/core/local_url_handlers.cpp ++++ b/Telegram/SourceFiles/core/local_url_handlers.cpp +@@ -1,3 +1,5 @@ @@ -2128,7 +2128,7 @@ index 0000000..3f65a10 + 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 4362726..b5a013b 100644 ++index 2204152..20caf0e 100644 +--- a/Telegram/SourceFiles/data/data_channel.cpp ++++ b/Telegram/SourceFiles/data/data_channel.cpp +@@ -1,3 +1,5 @@ @@ -2168,7 +2168,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_chat_participant_status.cpp b/Telegram/SourceFiles/data/data_chat_participant_status.cpp -+index 1b46621..2705c40 100644 ++index 537663a..bc9c8b4 100644 +--- a/Telegram/SourceFiles/data/data_chat_participant_status.cpp ++++ b/Telegram/SourceFiles/data/data_chat_participant_status.cpp +@@ -1,3 +1,5 @@ @@ -2257,7 +2257,7 @@ index 0000000..3f65a10 + 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 e00dd89..02d13d8 100644 ++index 73c1598..6a7cc87 100644 +--- a/Telegram/SourceFiles/data/data_emoji_statuses.cpp ++++ b/Telegram/SourceFiles/data/data_emoji_statuses.cpp +@@ -1,3 +1,5 @@ @@ -2277,7 +2277,7 @@ index 0000000..3f65a10 + 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 48f2be8..0a0524d 100644 ++index 06c39cb..7612ca6 100644 +--- a/Telegram/SourceFiles/data/data_file_origin.cpp ++++ b/Telegram/SourceFiles/data/data_file_origin.cpp +@@ -1,3 +1,5 @@ @@ -2414,7 +2414,7 @@ index 0000000..3f65a10 + 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 8ba7609..ffcb5c1 100644 ++index b3d5700..116055c 100644 +--- a/Telegram/SourceFiles/data/data_media_types.cpp ++++ b/Telegram/SourceFiles/data/data_media_types.cpp +@@ -1,3 +1,5 @@ @@ -2454,7 +2454,7 @@ index 0000000..3f65a10 + 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 901d7b7..205d4c4 100644 ++index b26234e..20b92db 100644 +--- a/Telegram/SourceFiles/data/data_peer.cpp ++++ b/Telegram/SourceFiles/data/data_peer.cpp +@@ -1,3 +1,5 @@ @@ -2614,7 +2614,7 @@ index 0000000..3f65a10 + 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 4927e27..4b79389 100644 ++index 42bc9b3..4f0bc1e 100644 +--- a/Telegram/SourceFiles/data/data_session.cpp ++++ b/Telegram/SourceFiles/data/data_session.cpp +@@ -1,3 +1,5 @@ @@ -2673,7 +2673,7 @@ index 0000000..3f65a10 + 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 70a37ac..6aef865 100644 ++index d5a5fc5..bb2041f 100644 +--- a/Telegram/SourceFiles/data/data_story.cpp ++++ b/Telegram/SourceFiles/data/data_story.cpp +@@ -1,3 +1,5 @@ @@ -2763,7 +2763,7 @@ index 0000000..3f65a10 + 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 d456562..35371f0 100644 ++index 5ab3f6b..49622dc 100644 +--- a/Telegram/SourceFiles/data/data_web_page.cpp ++++ b/Telegram/SourceFiles/data/data_web_page.cpp +@@ -1,3 +1,5 @@ @@ -2802,7 +2802,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/stickers/data_custom_emoji.cpp b/Telegram/SourceFiles/data/stickers/data_custom_emoji.cpp -+index d372674..a1b7a17 100644 ++index 695cb06..19f1b2c 100644 +--- a/Telegram/SourceFiles/data/stickers/data_custom_emoji.cpp ++++ b/Telegram/SourceFiles/data/stickers/data_custom_emoji.cpp +@@ -1,3 +1,5 @@ @@ -2812,7 +2812,7 @@ index 0000000..3f65a10 + 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 d04b880..4efdc72 100644 ++index 97e0014..236dbaf 100644 +--- a/Telegram/SourceFiles/data/stickers/data_stickers.cpp ++++ b/Telegram/SourceFiles/data/stickers/data_stickers.cpp +@@ -1,3 +1,5 @@ @@ -2852,7 +2852,7 @@ index 0000000..3f65a10 + 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 99b87f3..1a84f89 100644 ++index 83b55be..0df7061 100644 +--- a/Telegram/SourceFiles/dialogs/dialogs_inner_widget.cpp ++++ b/Telegram/SourceFiles/dialogs/dialogs_inner_widget.cpp +@@ -1,3 +1,5 @@ @@ -2960,7 +2960,7 @@ index 0000000..3f65a10 + 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 7e6277f..edfeada 100644 ++index 13b69c1..e170ba6 100644 +--- a/Telegram/SourceFiles/dialogs/ui/dialogs_layout.cpp ++++ b/Telegram/SourceFiles/dialogs/ui/dialogs_layout.cpp +@@ -1,3 +1,5 @@ @@ -2970,7 +2970,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/dialogs/ui/dialogs_message_view.cpp b/Telegram/SourceFiles/dialogs/ui/dialogs_message_view.cpp -+index 0060eae..b26947e 100644 ++index caed261..e1359ef 100644 +--- a/Telegram/SourceFiles/dialogs/ui/dialogs_message_view.cpp ++++ b/Telegram/SourceFiles/dialogs/ui/dialogs_message_view.cpp +@@ -1,3 +1,5 @@ @@ -3337,7 +3337,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/export/view/export_view_top_bar.cpp b/Telegram/SourceFiles/export/view/export_view_top_bar.cpp -+index dbdb9fc..896a869 100644 ++index add2539..75cdf54 100644 +--- a/Telegram/SourceFiles/export/view/export_view_top_bar.cpp ++++ b/Telegram/SourceFiles/export/view/export_view_top_bar.cpp +@@ -1,3 +1,5 @@ @@ -3367,7 +3367,7 @@ index 0000000..3f65a10 + 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 af77d88..b6dbc36 100644 ++index 1c6d680..fee0859 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 @@ @@ -3387,7 +3387,7 @@ index 0000000..3f65a10 + 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 52d6a1a..399631b 100644 ++index 75047ad..76877f3 100644 +--- a/Telegram/SourceFiles/history/history.cpp ++++ b/Telegram/SourceFiles/history/history.cpp +@@ -1,3 +1,5 @@ @@ -3417,7 +3417,7 @@ index 0000000..3f65a10 + 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 9a74ae3..e70c2a1 100644 ++index 719ae4f..30c6e49 100644 +--- a/Telegram/SourceFiles/history/history_item.cpp ++++ b/Telegram/SourceFiles/history/history_item.cpp +@@ -1,3 +1,5 @@ @@ -3427,7 +3427,7 @@ index 0000000..3f65a10 + 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 7ea8597..be7ea1a 100644 ++index 2fe9941..c7ca8d6 100644 +--- a/Telegram/SourceFiles/history/history_item_components.cpp ++++ b/Telegram/SourceFiles/history/history_item_components.cpp +@@ -1,3 +1,5 @@ @@ -3447,7 +3447,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/history_item_helpers.cpp b/Telegram/SourceFiles/history/history_item_helpers.cpp -+index 1c6584e..201f0c4 100644 ++index d2f557c..b7ec2de 100644 +--- a/Telegram/SourceFiles/history/history_item_helpers.cpp ++++ b/Telegram/SourceFiles/history/history_item_helpers.cpp +@@ -1,3 +1,5 @@ @@ -3535,7 +3535,7 @@ index 0000000..3f65a10 + 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 c810d87..89f700b 100644 ++index b5fd331..962a09f 100644 +--- a/Telegram/SourceFiles/history/history_widget.cpp ++++ b/Telegram/SourceFiles/history/history_widget.cpp +@@ -1,3 +1,5 @@ @@ -3554,7 +3554,7 @@ index 0000000..3f65a10 + 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 ab91da5..96bf4a2 100644 ++index 1f88ade..66a2db2 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 @@ @@ -3573,7 +3573,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/controls/history_view_compose_search.cpp b/Telegram/SourceFiles/history/view/controls/history_view_compose_search.cpp -+index 00066a5..997c170 100644 ++index 98064d0..0f489e3 100644 +--- a/Telegram/SourceFiles/history/view/controls/history_view_compose_search.cpp ++++ b/Telegram/SourceFiles/history/view/controls/history_view_compose_search.cpp +@@ -1,3 +1,5 @@ @@ -3583,7 +3583,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/controls/history_view_draft_options.cpp b/Telegram/SourceFiles/history/view/controls/history_view_draft_options.cpp -+index a62cf06..5564221 100644 ++index 2128403..3ef2f2e 100644 +--- a/Telegram/SourceFiles/history/view/controls/history_view_draft_options.cpp ++++ b/Telegram/SourceFiles/history/view/controls/history_view_draft_options.cpp +@@ -1,3 +1,5 @@ @@ -3632,7 +3632,7 @@ index 0000000..3f65a10 + 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_webpage_processor.cpp b/Telegram/SourceFiles/history/view/controls/history_view_webpage_processor.cpp -+index 214de05..0488c78 100644 ++index 379ffb9..10f4dc9 100644 +--- a/Telegram/SourceFiles/history/view/controls/history_view_webpage_processor.cpp ++++ b/Telegram/SourceFiles/history/view/controls/history_view_webpage_processor.cpp +@@ -1,3 +1,5 @@ @@ -3642,7 +3642,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/history_view_about_view.cpp b/Telegram/SourceFiles/history/view/history_view_about_view.cpp -+index 61c2cd8..7345253 100644 ++index 10f4bd8..fe9430c 100644 +--- a/Telegram/SourceFiles/history/view/history_view_about_view.cpp ++++ b/Telegram/SourceFiles/history/view/history_view_about_view.cpp +@@ -1,3 +1,5 @@ @@ -3662,7 +3662,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/history_view_chat_preview.cpp b/Telegram/SourceFiles/history/view/history_view_chat_preview.cpp -+index ced357d..db84148 100644 ++index 6b62e06..186c353 100644 +--- a/Telegram/SourceFiles/history/view/history_view_chat_preview.cpp ++++ b/Telegram/SourceFiles/history/view/history_view_chat_preview.cpp +@@ -1,3 +1,5 @@ @@ -3672,7 +3672,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/history_view_contact_status.cpp b/Telegram/SourceFiles/history/view/history_view_contact_status.cpp -+index 5d3025d..b55bef8 100644 ++index a25ebee..70f7706 100644 +--- a/Telegram/SourceFiles/history/view/history_view_contact_status.cpp ++++ b/Telegram/SourceFiles/history/view/history_view_contact_status.cpp +@@ -1,3 +1,5 @@ @@ -3752,7 +3752,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/history_view_group_call_bar.cpp b/Telegram/SourceFiles/history/view/history_view_group_call_bar.cpp -+index c460ab1..de72672 100644 ++index 68d952d..624b813 100644 +--- a/Telegram/SourceFiles/history/view/history_view_group_call_bar.cpp ++++ b/Telegram/SourceFiles/history/view/history_view_group_call_bar.cpp +@@ -1,3 +1,5 @@ @@ -3772,7 +3772,7 @@ index 0000000..3f65a10 + 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 c1b85b8..ca6e55d 100644 ++index c280693..ed754ff 100644 +--- a/Telegram/SourceFiles/history/view/history_view_message.cpp ++++ b/Telegram/SourceFiles/history/view/history_view_message.cpp +@@ -1,3 +1,5 @@ @@ -3832,7 +3832,7 @@ index 0000000..3f65a10 + 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 741f3ce..6f61751 100644 ++index 8fc14b2..b6634ba 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 @@ @@ -3942,7 +3942,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/history_view_top_bar_widget.cpp b/Telegram/SourceFiles/history/view/history_view_top_bar_widget.cpp -+index c0a6c9e..6497378 100644 ++index 2e9ac64..934971c 100644 +--- a/Telegram/SourceFiles/history/view/history_view_top_bar_widget.cpp ++++ b/Telegram/SourceFiles/history/view/history_view_top_bar_widget.cpp +@@ -1,3 +1,5 @@ @@ -4042,7 +4042,7 @@ index 0000000..3f65a10 + 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 b163321..33b107f 100644 ++index 14f6a02..0cc329e 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 @@ @@ -4072,7 +4072,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/media/history_view_gif.cpp b/Telegram/SourceFiles/history/view/media/history_view_gif.cpp -+index c406982..25630df 100644 ++index 389ffa1..e3e052e 100644 +--- a/Telegram/SourceFiles/history/view/media/history_view_gif.cpp ++++ b/Telegram/SourceFiles/history/view/media/history_view_gif.cpp +@@ -1,3 +1,5 @@ @@ -4082,7 +4082,7 @@ index 0000000..3f65a10 + 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_giveaway.cpp b/Telegram/SourceFiles/history/view/media/history_view_giveaway.cpp -+index 76733e4..4380f27 100644 ++index 7f3e132..2e461d1 100644 +--- a/Telegram/SourceFiles/history/view/media/history_view_giveaway.cpp ++++ b/Telegram/SourceFiles/history/view/media/history_view_giveaway.cpp +@@ -1,3 +1,5 @@ @@ -4142,7 +4142,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/media/history_view_media_generic.cpp b/Telegram/SourceFiles/history/view/media/history_view_media_generic.cpp -+index 0018f91..d816dda 100644 ++index f2c970e..e6f8a70 100644 +--- a/Telegram/SourceFiles/history/view/media/history_view_media_generic.cpp ++++ b/Telegram/SourceFiles/history/view/media/history_view_media_generic.cpp +@@ -1,3 +1,5 @@ @@ -4202,7 +4202,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/media/history_view_premium_gift.cpp b/Telegram/SourceFiles/history/view/media/history_view_premium_gift.cpp -+index f7d94fe..b95af52 100644 ++index cd8da2c..a65c8c0 100644 +--- a/Telegram/SourceFiles/history/view/media/history_view_premium_gift.cpp ++++ b/Telegram/SourceFiles/history/view/media/history_view_premium_gift.cpp +@@ -1,3 +1,5 @@ @@ -4222,7 +4222,7 @@ index 0000000..3f65a10 + 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_similar_channels.cpp b/Telegram/SourceFiles/history/view/media/history_view_similar_channels.cpp -+index aa14b12..51916d7 100644 ++index 93b99c4..9b300e8 100644 +--- a/Telegram/SourceFiles/history/view/media/history_view_similar_channels.cpp ++++ b/Telegram/SourceFiles/history/view/media/history_view_similar_channels.cpp +@@ -1,3 +1,5 @@ @@ -4282,7 +4282,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/media/history_view_unique_gift.cpp b/Telegram/SourceFiles/history/view/media/history_view_unique_gift.cpp -+index c2db18f..fca0a6c 100644 ++index 744b3bd..376c5f6 100644 +--- a/Telegram/SourceFiles/history/view/media/history_view_unique_gift.cpp ++++ b/Telegram/SourceFiles/history/view/media/history_view_unique_gift.cpp +@@ -1,3 +1,5 @@ @@ -4302,7 +4302,7 @@ index 0000000..3f65a10 + 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 061947f..6c68824 100644 ++index 9264327..b660722 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 @@ @@ -4342,7 +4342,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/reactions/history_view_reactions_selector.cpp b/Telegram/SourceFiles/history/view/reactions/history_view_reactions_selector.cpp -+index 32eb1a1..0319d40 100644 ++index 38970fb..9bdd87a 100644 +--- a/Telegram/SourceFiles/history/view/reactions/history_view_reactions_selector.cpp ++++ b/Telegram/SourceFiles/history/view/reactions/history_view_reactions_selector.cpp +@@ -1,3 +1,5 @@ @@ -4392,7 +4392,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/bot/starref/info_bot_starref_common.cpp b/Telegram/SourceFiles/info/bot/starref/info_bot_starref_common.cpp -+index 5242436..d15e2b0 100644 ++index 049b84e..47d7435 100644 +--- a/Telegram/SourceFiles/info/bot/starref/info_bot_starref_common.cpp ++++ b/Telegram/SourceFiles/info/bot/starref/info_bot_starref_common.cpp +@@ -1,3 +1,5 @@ @@ -4409,7 +4409,7 @@ index 0000000..3f65a10 +\ No newline at end of file ++} // namespace Info::BotStarRef +diff --git a/Telegram/SourceFiles/info/bot/starref/info_bot_starref_join_widget.cpp b/Telegram/SourceFiles/info/bot/starref/info_bot_starref_join_widget.cpp -+index 3893066..3ea71fd 100644 ++index 515b275..898e5e3 100644 +--- a/Telegram/SourceFiles/info/bot/starref/info_bot_starref_join_widget.cpp ++++ b/Telegram/SourceFiles/info/bot/starref/info_bot_starref_join_widget.cpp +@@ -1,3 +1,5 @@ @@ -4419,7 +4419,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/bot/starref/info_bot_starref_setup_widget.cpp b/Telegram/SourceFiles/info/bot/starref/info_bot_starref_setup_widget.cpp -+index e3ca2b6..17b1e46 100644 ++index 4093737..b7a4386 100644 +--- a/Telegram/SourceFiles/info/bot/starref/info_bot_starref_setup_widget.cpp ++++ b/Telegram/SourceFiles/info/bot/starref/info_bot_starref_setup_widget.cpp +@@ -1,3 +1,5 @@ @@ -4476,7 +4476,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/channel_statistics/boosts/info_boosts_inner_widget.cpp b/Telegram/SourceFiles/info/channel_statistics/boosts/info_boosts_inner_widget.cpp -+index 5b66482..4e6d364 100644 ++index 0f35e31..374bb2a 100644 +--- a/Telegram/SourceFiles/info/channel_statistics/boosts/info_boosts_inner_widget.cpp ++++ b/Telegram/SourceFiles/info/channel_statistics/boosts/info_boosts_inner_widget.cpp +@@ -1,3 +1,5 @@ @@ -4628,7 +4628,7 @@ index 0000000..3f65a10 +\ No newline at end of file ++} // namespace Info::GlobalMedia +diff --git a/Telegram/SourceFiles/info/info_content_widget.cpp b/Telegram/SourceFiles/info/info_content_widget.cpp -+index f1aeb86..b3c577a 100644 ++index 9187b02..60fd32f 100644 +--- a/Telegram/SourceFiles/info/info_content_widget.cpp ++++ b/Telegram/SourceFiles/info/info_content_widget.cpp +@@ -1,3 +1,5 @@ @@ -4638,7 +4638,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/info_controller.cpp b/Telegram/SourceFiles/info/info_controller.cpp -+index cea7513..4f23e50 100644 ++index dc51c31..a31ca78 100644 +--- a/Telegram/SourceFiles/info/info_controller.cpp ++++ b/Telegram/SourceFiles/info/info_controller.cpp +@@ -1,3 +1,5 @@ @@ -4658,7 +4658,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/info_memento.cpp b/Telegram/SourceFiles/info/info_memento.cpp -+index 1810839..8e59888 100644 ++index 40f7733..e8eba9d 100644 +--- a/Telegram/SourceFiles/info/info_memento.cpp ++++ b/Telegram/SourceFiles/info/info_memento.cpp +@@ -1,3 +1,5 @@ @@ -4688,7 +4688,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/info_wrap_widget.cpp b/Telegram/SourceFiles/info/info_wrap_widget.cpp -+index 9c4ce77..0bae561 100644 ++index 2e81fe6..4ffbdd6 100644 +--- a/Telegram/SourceFiles/info/info_wrap_widget.cpp ++++ b/Telegram/SourceFiles/info/info_wrap_widget.cpp +@@ -1,3 +1,5 @@ @@ -4778,7 +4778,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/peer_gifts/info_peer_gifts_common.cpp b/Telegram/SourceFiles/info/peer_gifts/info_peer_gifts_common.cpp -+index 54c7cc0..c542f46 100644 ++index 14a07a6..c13db9d 100644 +--- a/Telegram/SourceFiles/info/peer_gifts/info_peer_gifts_common.cpp ++++ b/Telegram/SourceFiles/info/peer_gifts/info_peer_gifts_common.cpp +@@ -1,3 +1,5 @@ @@ -4788,7 +4788,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/peer_gifts/info_peer_gifts_widget.cpp b/Telegram/SourceFiles/info/peer_gifts/info_peer_gifts_widget.cpp -+index 746984b..f68ffdc 100644 ++index 75b27c6..36c55ae 100644 +--- a/Telegram/SourceFiles/info/peer_gifts/info_peer_gifts_widget.cpp ++++ b/Telegram/SourceFiles/info/peer_gifts/info_peer_gifts_widget.cpp +@@ -1,3 +1,5 @@ @@ -4818,7 +4818,7 @@ index 0000000..3f65a10 + 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 baf8cfe..83a0b6b 100644 ++index ffa2472..a753305 100644 +--- a/Telegram/SourceFiles/info/profile/info_profile_actions.cpp ++++ b/Telegram/SourceFiles/info/profile/info_profile_actions.cpp +@@ -1,3 +1,5 @@ @@ -4828,7 +4828,7 @@ index 0000000..3f65a10 + 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_badge.cpp b/Telegram/SourceFiles/info/profile/info_profile_badge.cpp -+index 4f63aed..4158279 100644 ++index b87931b..ad17ac3 100644 +--- a/Telegram/SourceFiles/info/profile/info_profile_badge.cpp ++++ b/Telegram/SourceFiles/info/profile/info_profile_badge.cpp +@@ -1,3 +1,5 @@ @@ -4838,7 +4838,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/profile/info_profile_cover.cpp b/Telegram/SourceFiles/info/profile/info_profile_cover.cpp -+index f76e8b6..009a638 100644 ++index aaf8a82..d35868c 100644 +--- a/Telegram/SourceFiles/info/profile/info_profile_cover.cpp ++++ b/Telegram/SourceFiles/info/profile/info_profile_cover.cpp +@@ -1,3 +1,5 @@ @@ -4848,7 +4848,7 @@ index 0000000..3f65a10 + 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 9498906..c0b3f54 100644 ++index ecf24b2..66cd5f5 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 @@ @@ -4867,7 +4867,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/profile/info_profile_inner_widget.cpp b/Telegram/SourceFiles/info/profile/info_profile_inner_widget.cpp -+index e0e72cd..e7db78c 100644 ++index 4ab34cb..d0bdb7f 100644 +--- a/Telegram/SourceFiles/info/profile/info_profile_inner_widget.cpp ++++ b/Telegram/SourceFiles/info/profile/info_profile_inner_widget.cpp +@@ -1,3 +1,5 @@ @@ -4917,7 +4917,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/profile/info_profile_values.cpp b/Telegram/SourceFiles/info/profile/info_profile_values.cpp -+index fba586e..6fb1cbb 100644 ++index 8caddbf..3b4f44c 100644 +--- a/Telegram/SourceFiles/info/profile/info_profile_values.cpp ++++ b/Telegram/SourceFiles/info/profile/info_profile_values.cpp +@@ -1,3 +1,5 @@ @@ -4976,10 +4976,10 @@ index 0000000..3f65a10 + /* + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. -+diff --git a/Telegram/SourceFiles/info/similar_channels/info_similar_channels_widget.cpp b/Telegram/SourceFiles/info/similar_channels/info_similar_channels_widget.cpp -+index ae77ec2..bc52bd4 100644 -+--- a/Telegram/SourceFiles/info/similar_channels/info_similar_channels_widget.cpp -++++ b/Telegram/SourceFiles/info/similar_channels/info_similar_channels_widget.cpp ++diff --git a/Telegram/SourceFiles/info/similar_peers/info_similar_peers_widget.cpp b/Telegram/SourceFiles/info/similar_peers/info_similar_peers_widget.cpp ++index 3646b5b..83a8e64 100644 ++--- a/Telegram/SourceFiles/info/similar_peers/info_similar_peers_widget.cpp +++++ b/Telegram/SourceFiles/info/similar_peers/info_similar_peers_widget.cpp +@@ -1,3 +1,5 @@ ++#include "ui/ui_pch.h" ++#include "stdafx.h" @@ -5134,7 +5134,7 @@ index 0000000..3f65a10 + 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 7d4f075..54ae663 100644 ++index 5f77c55..64269ed 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 @@ @@ -5144,7 +5144,7 @@ index 0000000..3f65a10 + 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 ebb9688..7f477a4 100644 ++index 6f10045..c843747 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 @@ @@ -5589,7 +5589,7 @@ index 0000000..3f65a10 + 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 06bea1d..7546425 100644 ++index 1af7432..20c11b3 100644 +--- a/Telegram/SourceFiles/mainwidget.cpp ++++ b/Telegram/SourceFiles/mainwidget.cpp +@@ -1,3 +1,4 @@ @@ -5665,6 +5665,16 @@ index 0000000..3f65a10 + /* + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. ++diff --git a/Telegram/SourceFiles/media/audio/media_audio_local_cache.cpp b/Telegram/SourceFiles/media/audio/media_audio_local_cache.cpp ++index dd1fa6d..ca8b66f 100644 ++--- a/Telegram/SourceFiles/media/audio/media_audio_local_cache.cpp +++++ b/Telegram/SourceFiles/media/audio/media_audio_local_cache.cpp ++@@ -1,3 +1,5 @@ +++#include "ui/ui_pch.h" +++#include "stdafx.h" ++ /* ++ This file is part of Telegram Desktop, ++ the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/media/audio/media_audio_track.cpp b/Telegram/SourceFiles/media/audio/media_audio_track.cpp +index bbf2ea5..1b85a9c 100644 +--- a/Telegram/SourceFiles/media/audio/media_audio_track.cpp @@ -5800,7 +5810,7 @@ index 0000000..3f65a10 + 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 c0ca0eb..7f3f271 100644 ++index 3f13687..77216f9 100644 +--- a/Telegram/SourceFiles/media/stories/media_stories_controller.cpp ++++ b/Telegram/SourceFiles/media/stories/media_stories_controller.cpp +@@ -1,3 +1,5 @@ @@ -5870,7 +5880,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/media/stories/media_stories_share.cpp b/Telegram/SourceFiles/media/stories/media_stories_share.cpp -+index 46e0520..dbf4d63 100644 ++index 02b379e..a06a05e 100644 +--- a/Telegram/SourceFiles/media/stories/media_stories_share.cpp ++++ b/Telegram/SourceFiles/media/stories/media_stories_share.cpp +@@ -1,3 +1,5 @@ @@ -5900,7 +5910,7 @@ index 0000000..3f65a10 + 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_stealth.cpp b/Telegram/SourceFiles/media/stories/media_stories_stealth.cpp -+index 3578e3f..41a5d2c 100644 ++index b64de9e..f8ac81c 100644 +--- a/Telegram/SourceFiles/media/stories/media_stories_stealth.cpp ++++ b/Telegram/SourceFiles/media/stories/media_stories_stealth.cpp +@@ -1,3 +1,5 @@ @@ -6079,7 +6089,7 @@ index 0000000..3f65a10 + 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 921c393..b6fc3b3 100644 ++index 0df0d07..1148510 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 @@ @@ -6178,7 +6188,7 @@ index 0000000..3f65a10 + 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 dd88077..7ded92b 100644 ++index 118bcee..0e483bd 100644 +--- a/Telegram/SourceFiles/menu/menu_send.cpp ++++ b/Telegram/SourceFiles/menu/menu_send.cpp +@@ -1,3 +1,5 @@ @@ -6658,7 +6668,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/payments/payments_form.cpp b/Telegram/SourceFiles/payments/payments_form.cpp -+index 741bf12..3f774f7 100644 ++index 7f4e26a..c369506 100644 +--- a/Telegram/SourceFiles/payments/payments_form.cpp ++++ b/Telegram/SourceFiles/payments/payments_form.cpp +@@ -1,3 +1,5 @@ @@ -6668,7 +6678,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/payments/payments_non_panel_process.cpp b/Telegram/SourceFiles/payments/payments_non_panel_process.cpp -+index 0b9e292..5b46b2a 100644 ++index c764308..7201684 100644 +--- a/Telegram/SourceFiles/payments/payments_non_panel_process.cpp ++++ b/Telegram/SourceFiles/payments/payments_non_panel_process.cpp +@@ -1,3 +1,5 @@ @@ -6902,7 +6912,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/platform/linux/notifications_manager_haiku.cpp b/Telegram/SourceFiles/platform/linux/notifications_manager_haiku.cpp -+index 21935f0..e415976 100644 ++index ed9f6a7..9880f8d 100644 +--- a/Telegram/SourceFiles/platform/linux/notifications_manager_haiku.cpp ++++ b/Telegram/SourceFiles/platform/linux/notifications_manager_haiku.cpp +@@ -1,3 +1,4 @@ @@ -6911,7 +6921,7 @@ index 0000000..3f65a10 + 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 f80d88c..fd482ad 100644 ++index 0a51e5a..0181683 100644 +--- a/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp ++++ b/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp +@@ -1,3 +1,4 @@ @@ -6920,7 +6930,7 @@ index 0000000..3f65a10 + /* + 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 49902a7..b9afaaf 100644 ++index 0cd0839..ff6c93b 100644 +--- a/Telegram/SourceFiles/platform/linux/specific_linux.cpp ++++ b/Telegram/SourceFiles/platform/linux/specific_linux.cpp +@@ -1,3 +1,4 @@ @@ -7020,7 +7030,7 @@ index 0000000..3f65a10 + 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 688a694..aa80416 100644 ++index a15e492..8b865cd 100644 +--- a/Telegram/SourceFiles/settings/business/settings_chat_intro.cpp ++++ b/Telegram/SourceFiles/settings/business/settings_chat_intro.cpp +@@ -1,3 +1,5 @@ @@ -7191,7 +7201,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/settings/settings_advanced.cpp b/Telegram/SourceFiles/settings/settings_advanced.cpp -+index fcd2438..421c399 100644 ++index c541f71..71381f2 100644 +--- a/Telegram/SourceFiles/settings/settings_advanced.cpp ++++ b/Telegram/SourceFiles/settings/settings_advanced.cpp +@@ -1,3 +1,4 @@ @@ -7272,7 +7282,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/settings/settings_credits_graphics.cpp b/Telegram/SourceFiles/settings/settings_credits_graphics.cpp -+index 98ada15..4794d53 100644 ++index 15ea3aa..c915d0f 100644 +--- a/Telegram/SourceFiles/settings/settings_credits_graphics.cpp ++++ b/Telegram/SourceFiles/settings/settings_credits_graphics.cpp +@@ -1,3 +1,4 @@ @@ -7308,7 +7318,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/settings/settings_information.cpp b/Telegram/SourceFiles/settings/settings_information.cpp -+index 0bbd9a1..c2398d9 100644 ++index a087aed..0019f91 100644 +--- a/Telegram/SourceFiles/settings/settings_information.cpp ++++ b/Telegram/SourceFiles/settings/settings_information.cpp +@@ -1,3 +1,4 @@ @@ -7335,7 +7345,7 @@ index 0000000..3f65a10 + 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 e0b68cc..5488bb6 100644 ++index bcc61bc..c86ee60 100644 +--- a/Telegram/SourceFiles/settings/settings_main.cpp ++++ b/Telegram/SourceFiles/settings/settings_main.cpp +@@ -1,3 +1,4 @@ @@ -7371,7 +7381,7 @@ index 0000000..3f65a10 + 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 172420f..d601b5e 100644 ++index cae7f89..7bfe144 100644 +--- a/Telegram/SourceFiles/settings/settings_premium.cpp ++++ b/Telegram/SourceFiles/settings/settings_premium.cpp +@@ -1,3 +1,4 @@ @@ -7389,7 +7399,7 @@ index 0000000..3f65a10 + 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 05fe9a2..9b13912 100644 ++index 09ae65a..f5e82c9 100644 +--- a/Telegram/SourceFiles/settings/settings_privacy_security.cpp ++++ b/Telegram/SourceFiles/settings/settings_privacy_security.cpp +@@ -1,3 +1,4 @@ @@ -7668,7 +7678,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/storage/serialize_document.cpp b/Telegram/SourceFiles/storage/serialize_document.cpp -+index e13a587..b2af392 100644 ++index 89b335c..3960312 100644 +--- a/Telegram/SourceFiles/storage/serialize_document.cpp ++++ b/Telegram/SourceFiles/storage/serialize_document.cpp +@@ -1,3 +1,4 @@ @@ -7686,7 +7696,7 @@ index 0000000..3f65a10 + 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 3c8d814..6d4bda6 100644 ++index afa677e..a467f12 100644 +--- a/Telegram/SourceFiles/storage/storage_account.cpp ++++ b/Telegram/SourceFiles/storage/storage_account.cpp +@@ -1,3 +1,4 @@ @@ -7848,7 +7858,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/boxes/boost_box.cpp b/Telegram/SourceFiles/ui/boxes/boost_box.cpp -+index 23e3781..9d860b4 100644 ++index 4260eb0..4c70f7b 100644 +--- a/Telegram/SourceFiles/ui/boxes/boost_box.cpp ++++ b/Telegram/SourceFiles/ui/boxes/boost_box.cpp +@@ -1,3 +1,4 @@ @@ -7857,7 +7867,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/boxes/calendar_box.cpp b/Telegram/SourceFiles/ui/boxes/calendar_box.cpp -+index 5c46fbf..897cd78 100644 ++index 0a0d22b..f6902ae 100644 +--- a/Telegram/SourceFiles/ui/boxes/calendar_box.cpp ++++ b/Telegram/SourceFiles/ui/boxes/calendar_box.cpp +@@ -1,3 +1,4 @@ @@ -8441,7 +8451,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/controls/round_video_recorder.cpp b/Telegram/SourceFiles/ui/controls/round_video_recorder.cpp -+index 73b8817..26f89f6 100644 ++index 812a484..5d19862 100644 +--- a/Telegram/SourceFiles/ui/controls/round_video_recorder.cpp ++++ b/Telegram/SourceFiles/ui/controls/round_video_recorder.cpp +@@ -1,3 +1,4 @@ @@ -8487,7 +8497,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/controls/userpic_button.cpp b/Telegram/SourceFiles/ui/controls/userpic_button.cpp -+index cfa9ef0..7f0dc4a 100644 ++index c1d2d21..7299eb0 100644 +--- a/Telegram/SourceFiles/ui/controls/userpic_button.cpp ++++ b/Telegram/SourceFiles/ui/controls/userpic_button.cpp +@@ -1,3 +1,5 @@ @@ -8610,7 +8620,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/effects/premium_bubble.cpp b/Telegram/SourceFiles/ui/effects/premium_bubble.cpp -+index 5a3698e..357e17e 100644 ++index 6106201..7c8f42c 100644 +--- a/Telegram/SourceFiles/ui/effects/premium_bubble.cpp ++++ b/Telegram/SourceFiles/ui/effects/premium_bubble.cpp +@@ -1,3 +1,4 @@ @@ -8637,7 +8647,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/effects/premium_stars_colored.cpp b/Telegram/SourceFiles/ui/effects/premium_stars_colored.cpp -+index c90dc97..d215298 100644 ++index 7b7157b..5b685b3 100644 +--- a/Telegram/SourceFiles/ui/effects/premium_stars_colored.cpp ++++ b/Telegram/SourceFiles/ui/effects/premium_stars_colored.cpp +@@ -1,3 +1,4 @@ @@ -8870,7 +8880,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/unread_badge.cpp b/Telegram/SourceFiles/ui/unread_badge.cpp -+index 16ea25d..4475f38 100644 ++index b01dcb1..1f3fa81 100644 +--- a/Telegram/SourceFiles/ui/unread_badge.cpp ++++ b/Telegram/SourceFiles/ui/unread_badge.cpp +@@ -1,3 +1,5 @@ @@ -9072,7 +9082,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/window/main_window.cpp b/Telegram/SourceFiles/window/main_window.cpp -+index 334af50..059ec14 100644 ++index c37d412..0a36f1a 100644 +--- a/Telegram/SourceFiles/window/main_window.cpp ++++ b/Telegram/SourceFiles/window/main_window.cpp +@@ -1,3 +1,4 @@ @@ -9081,7 +9091,7 @@ index 0000000..3f65a10 + 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 40f8664..f4f8aba 100644 ++index 15aa204..84a61f3 100644 +--- a/Telegram/SourceFiles/window/notifications_manager.cpp ++++ b/Telegram/SourceFiles/window/notifications_manager.cpp +@@ -1,3 +1,4 @@ @@ -9268,7 +9278,7 @@ index 0000000..3f65a10 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/window/window_main_menu.cpp b/Telegram/SourceFiles/window/window_main_menu.cpp -+index d8aed30..5ceef2f 100644 ++index 61157fe..1a4e932 100644 +--- a/Telegram/SourceFiles/window/window_main_menu.cpp ++++ b/Telegram/SourceFiles/window/window_main_menu.cpp +@@ -1,3 +1,4 @@ @@ -9295,7 +9305,7 @@ index 0000000..3f65a10 + 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 5e7978c..f4c75ff 100644 ++index 8830f8d..7ea9c87 100644 +--- a/Telegram/SourceFiles/window/window_peer_menu.cpp ++++ b/Telegram/SourceFiles/window/window_peer_menu.cpp +@@ -1,3 +1,4 @@ @@ -11018,7 +11028,7 @@ index 0000000..3f65a10 + // 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 91b6f5f..25ceae4 100644 ++index cef49d2..a7edac1 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 @@ diff --git a/net-im/telegram-desktop/patches/telegram_desktop-5.10.3.patchset b/net-im/telegram-desktop/patches/telegram_desktop-5.10.4.patchset similarity index 96% rename from net-im/telegram-desktop/patches/telegram_desktop-5.10.3.patchset rename to net-im/telegram-desktop/patches/telegram_desktop-5.10.4.patchset index dbfe2af79..16ee9ec46 100644 --- a/net-im/telegram-desktop/patches/telegram_desktop-5.10.3.patchset +++ b/net-im/telegram-desktop/patches/telegram_desktop-5.10.4.patchset @@ -1,6 +1,6 @@ -From 71bd607911101792f5d4abbf521ac3c872e65edd Mon Sep 17 00:00:00 2001 +From 555f9a9518b9d7ea8280f41a69d887a7be1bf2d8 Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> -Date: Wed, 8 Jan 2025 23:15:56 +0000 +Date: Thu, 23 Jan 2025 23:28:09 +0000 Subject: Add haiku support @@ -138,7 +138,7 @@ index 0000000..e5f8b64 + +resource("BEOS:default_shortcut") "S"; diff --git a/Telegram/CMakeLists.txt b/Telegram/CMakeLists.txt -index 1071fbe..da2e45c 100644 +index b2298db..b0f7f27 100644 --- a/Telegram/CMakeLists.txt +++ b/Telegram/CMakeLists.txt @@ -97,6 +97,15 @@ PRIVATE @@ -157,7 +157,7 @@ index 1071fbe..da2e45c 100644 target_precompile_headers(Telegram PRIVATE $<$:${src_loc}/stdafx.h>) nice_target_sources(Telegram ${src_loc} PRIVATE -@@ -1670,6 +1679,16 @@ if (NOT build_winstore) +@@ -1672,6 +1681,16 @@ if (NOT build_winstore) ) endif() @@ -174,7 +174,7 @@ index 1071fbe..da2e45c 100644 if (DESKTOP_APP_USE_PACKAGED) remove_target_sources(Telegram ${src_loc} platform/mac/mac_iconv_helper.c -@@ -1833,7 +1852,7 @@ else() +@@ -1835,7 +1854,7 @@ else() set(bundle_identifier "com.tdesktop.Telegram") endif() set(bundle_entitlements "Telegram.entitlements") @@ -204,10 +204,10 @@ index 51a9068..b5296bc 100644 if (const auto strong = weak.get()) { showBox(Box(SettingsBox, strong)); diff --git a/Telegram/SourceFiles/core/core_settings.h b/Telegram/SourceFiles/core/core_settings.h -index 87fb383..6e879b7 100644 +index 91da794..0c9713e 100644 --- a/Telegram/SourceFiles/core/core_settings.h +++ b/Telegram/SourceFiles/core/core_settings.h -@@ -1034,7 +1034,7 @@ private: +@@ -1033,7 +1033,7 @@ private: rpl::variable _dialogsNoChatWidthRatio; // per-window rpl::variable _thirdColumnWidth = kDefaultThirdColumnWidth; // p-w bool _notifyFromAll = true; @@ -396,10 +396,10 @@ index 4ef98ba..ee8b3ad 100644 void updateWindowIcon() override; diff --git a/Telegram/SourceFiles/platform/linux/notifications_manager_haiku.cpp b/Telegram/SourceFiles/platform/linux/notifications_manager_haiku.cpp new file mode 100644 -index 0000000..21935f0 +index 0000000..ed9f6a7 --- /dev/null +++ b/Telegram/SourceFiles/platform/linux/notifications_manager_haiku.cpp -@@ -0,0 +1,294 @@ +@@ -0,0 +1,271 @@ +/* +This file is part of Telegram Desktop for Haiku, + @@ -521,14 +521,8 @@ index 0000000..21935f0 + explicit Private(not_null manager); + + void showNotification( -+ not_null peer, -+ MsgId topicRootId, -+ Ui::PeerUserpicView &userpicView, -+ MsgId msgId, -+ const QString &title, -+ const QString &subtitle, -+ const QString &msg, -+ DisplayOptions options); ++ NotificationInfo &&info, ++ Ui::PeerUserpicView &userpicView); + + ~Private(); + @@ -602,17 +596,14 @@ index 0000000..21935f0 +} + +void Manager::Private::showNotification( -+ not_null peer, -+ MsgId topicRootId, -+ Ui::PeerUserpicView &userpicView, -+ MsgId msgId, -+ const QString &title, -+ const QString &subtitle, -+ const QString &msg, -+ DisplayOptions options) { -+ auto titleText = title; -+ auto subtitleText = subtitle; -+ auto msgText = msg; ++ NotificationInfo &&info, ++ Ui::PeerUserpicView &userpicView) { ++ const auto peer = info.peer; ++ const auto options = info.options; ++ const auto titleText = info.title; ++ const auto subtitleText = info.subtitle; ++ const auto msgText = info.message; ++ const auto msgId = info.itemId; + + QString args = QString( + "mode:port " @@ -651,23 +642,9 @@ index 0000000..21935f0 +Manager::~Manager() = default; + +void Manager::doShowNativeNotification( -+ not_null peer, -+ MsgId topicRootId, -+ Ui::PeerUserpicView &userpicView, -+ MsgId msgId, -+ const QString &title, -+ const QString &subtitle, -+ const QString &msg, -+ DisplayOptions options) { -+ _private->showNotification( -+ peer, -+ topicRootId, -+ userpicView, -+ msgId, -+ title, -+ subtitle, -+ msg, -+ options); ++ NotificationInfo &&info, ++ Ui::PeerUserpicView &userpicView) { ++ _private->showNotification(std::move(info), userpicView); +} + +void Manager::doClearAllFast() { } @@ -695,7 +672,7 @@ index 0000000..21935f0 +} // namespace Notifications +} // namespace Platform diff --git a/Telegram/SourceFiles/platform/linux/specific_linux.cpp b/Telegram/SourceFiles/platform/linux/specific_linux.cpp -index ad80627..49902a7 100644 +index 19b0c68..0cd0839 100644 --- a/Telegram/SourceFiles/platform/linux/specific_linux.cpp +++ b/Telegram/SourceFiles/platform/linux/specific_linux.cpp @@ -27,6 +27,10 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL @@ -762,7 +739,7 @@ index ad80627..49902a7 100644 } bool AutostartSkip() { -@@ -627,7 +663,11 @@ QString psAppDataPath() { +@@ -623,7 +659,11 @@ QString psAppDataPath() { } } @@ -774,7 +751,7 @@ index ad80627..49902a7 100644 } void psDoCleanup() { -@@ -737,6 +777,7 @@ bool OpenSystemSettings(SystemSettingsType type) { +@@ -733,6 +773,7 @@ bool OpenSystemSettings(SystemSettingsType type) { } options.push_back(std::move(command)); }; @@ -782,7 +759,7 @@ index ad80627..49902a7 100644 add("unity-control-center", "sound"); add("kcmshell6", "kcm_pulseaudio"); add("kcmshell5", "kcm_pulseaudio"); -@@ -746,7 +787,7 @@ bool OpenSystemSettings(SystemSettingsType type) { +@@ -742,7 +783,7 @@ bool OpenSystemSettings(SystemSettingsType type) { add("mate-volume-control"); add("pavucontrol-qt"); add("pavucontrol"); diff --git a/net-im/telegram-desktop/telegram_desktop-5.10.3.recipe b/net-im/telegram-desktop/telegram_desktop-5.10.4.recipe similarity index 98% rename from net-im/telegram-desktop/telegram_desktop-5.10.3.recipe rename to net-im/telegram-desktop/telegram_desktop-5.10.4.recipe index 86e897dc9..5d73b8885 100644 --- a/net-im/telegram-desktop/telegram_desktop-5.10.3.recipe +++ b/net-im/telegram-desktop/telegram_desktop-5.10.4.recipe @@ -5,7 +5,7 @@ COPYRIGHT="2013-2025 Telegram" LICENSE="GNU GPL v3" REVISION="1" SOURCE_URI="https://github.com/telegramdesktop/tdesktop/releases/download/v$portVersion/tdesktop-$portVersion-full.tar.gz" -CHECKSUM_SHA256="856be2d5cc772a2511f6e861b7c3f122385d3b3424c35cd45776fcbfd648a66d" +CHECKSUM_SHA256="5dd0bfe5b9a668ae56b5420cc4c839ef678810d56b8557664c9de10110c3e38a" SOURCE_FILENAME="tdesktop-$portVersion-full.tar.gz" SOURCE_DIR="tdesktop-$portVersion-full" SOURCE_URI_2="https://github.com/ada-url/ada/releases/download/v2.9.0/singleheader.zip"