From 97af03b896a7a897c1e5736dac5c6e3a859f4e4f Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> Date: Thu, 19 Jun 2025 21:56:18 +1000 Subject: [PATCH] Telegram: bump version --- ...3.patchset => pch_disable-5.15.4.patchset} | 371 ++++++++++-------- ...chset => telegram_desktop-5.15.4.patchset} | 43 +- ....recipe => telegram_desktop-5.15.4.recipe} | 29 +- 3 files changed, 243 insertions(+), 200 deletions(-) rename net-im/telegram-desktop/patches/{pch_disable-5.14.3.patchset => pch_disable-5.15.4.patchset} (98%) rename net-im/telegram-desktop/patches/{telegram_desktop-5.14.3.patchset => telegram_desktop-5.15.4.patchset} (97%) rename net-im/telegram-desktop/{telegram_desktop-5.14.3.recipe => telegram_desktop-5.15.4.recipe} (91%) diff --git a/net-im/telegram-desktop/patches/pch_disable-5.14.3.patchset b/net-im/telegram-desktop/patches/pch_disable-5.15.4.patchset similarity index 98% rename from net-im/telegram-desktop/patches/pch_disable-5.14.3.patchset rename to net-im/telegram-desktop/patches/pch_disable-5.15.4.patchset index 3ea484add..91cf81544 100644 --- a/net-im/telegram-desktop/patches/pch_disable-5.14.3.patchset +++ b/net-im/telegram-desktop/patches/pch_disable-5.15.4.patchset @@ -1,15 +1,15 @@ -From 6049e05954d4c1736ad42b5bb42e8a9d0ed944b3 Mon Sep 17 00:00:00 2001 +From 21c18c22bd563c18e271eb4bc9d8ccfcd0e82717 Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> -Date: Mon, 26 May 2025 06:49:34 +0000 +Date: Fri, 6 Jun 2025 07:15:51 +0000 Subject: Add PCH file diff --git a/pch_disable.patchset b/pch_disable.patchset new file mode 100644 -index 0000000..09261a3 +index 0000000..aae3e5a --- /dev/null +++ b/pch_disable.patchset -@@ -0,0 +1,11538 @@ +@@ -0,0 +1,11565 @@ +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..09261a3 + 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 4783907..b8097a0 100644 ++index af60bdf..bd5fd45 100644 +--- a/Telegram/SourceFiles/api/api_chat_participants.cpp ++++ b/Telegram/SourceFiles/api/api_chat_participants.cpp +@@ -1,3 +1,4 @@ @@ -227,7 +227,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/api/api_polls.cpp b/Telegram/SourceFiles/api/api_polls.cpp -+index 398bd1a..73fc036 100644 ++index d6ffaf5..f7ab8fc 100644 +--- a/Telegram/SourceFiles/api/api_polls.cpp ++++ b/Telegram/SourceFiles/api/api_polls.cpp +@@ -1,3 +1,4 @@ @@ -371,7 +371,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/api/api_unread_things.cpp b/Telegram/SourceFiles/api/api_unread_things.cpp -+index dac998d..ac2a953 100644 ++index 32deab3..c4e1639 100644 +--- a/Telegram/SourceFiles/api/api_unread_things.cpp ++++ b/Telegram/SourceFiles/api/api_unread_things.cpp +@@ -1,3 +1,4 @@ @@ -380,7 +380,7 @@ index 0000000..09261a3 + 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 cade72e..b9d8da1 100644 ++index c3928b6..0c2e59c 100644 +--- a/Telegram/SourceFiles/api/api_updates.cpp ++++ b/Telegram/SourceFiles/api/api_updates.cpp +@@ -1,3 +1,4 @@ @@ -425,7 +425,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/api/api_who_reacted.cpp b/Telegram/SourceFiles/api/api_who_reacted.cpp -+index a5186fc..57fd55a 100644 ++index 84ab9b0..933cacc 100644 +--- a/Telegram/SourceFiles/api/api_who_reacted.cpp ++++ b/Telegram/SourceFiles/api/api_who_reacted.cpp +@@ -1,3 +1,4 @@ @@ -434,7 +434,7 @@ index 0000000..09261a3 + 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 749c372..a49bba9 100644 ++index 4f8cef0..78218bb 100644 +--- a/Telegram/SourceFiles/apiwrap.cpp ++++ b/Telegram/SourceFiles/apiwrap.cpp +@@ -1,3 +1,4 @@ @@ -473,7 +473,7 @@ index 0000000..09261a3 + 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 0205507..78e2115 100644 ++index 792eff7..c04cd91 100644 +--- a/Telegram/SourceFiles/boxes/add_contact_box.cpp ++++ b/Telegram/SourceFiles/boxes/add_contact_box.cpp +@@ -1,3 +1,5 @@ @@ -543,7 +543,7 @@ index 0000000..09261a3 + 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 fab9731..b660950 100644 ++index 926656d..9727d2d 100644 +--- a/Telegram/SourceFiles/boxes/create_poll_box.cpp ++++ b/Telegram/SourceFiles/boxes/create_poll_box.cpp +@@ -1,3 +1,5 @@ @@ -593,7 +593,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/edit_privacy_box.cpp b/Telegram/SourceFiles/boxes/edit_privacy_box.cpp -+index c3c9232..80d1caa 100644 ++index 86816ba..130b2dd 100644 +--- a/Telegram/SourceFiles/boxes/edit_privacy_box.cpp ++++ b/Telegram/SourceFiles/boxes/edit_privacy_box.cpp +@@ -1,3 +1,5 @@ @@ -695,7 +695,7 @@ index 0000000..09261a3 + 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 fbe6ee7..cebaa7a 100644 ++index 071b9dd..9333e13 100644 +--- a/Telegram/SourceFiles/boxes/moderate_messages_box.cpp ++++ b/Telegram/SourceFiles/boxes/moderate_messages_box.cpp +@@ -1,3 +1,5 @@ @@ -715,7 +715,7 @@ index 0000000..09261a3 + 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 10feb5e..7fd41c6 100644 ++index d57ba16..053e733 100644 +--- a/Telegram/SourceFiles/boxes/peer_list_box.cpp ++++ b/Telegram/SourceFiles/boxes/peer_list_box.cpp +@@ -1,3 +1,5 @@ @@ -725,7 +725,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/peer_list_controllers.cpp b/Telegram/SourceFiles/boxes/peer_list_controllers.cpp -+index 3b22147..eef1dfb 100644 ++index 37ab361..df8a6cf 100644 +--- a/Telegram/SourceFiles/boxes/peer_list_controllers.cpp ++++ b/Telegram/SourceFiles/boxes/peer_list_controllers.cpp +@@ -1,3 +1,5 @@ @@ -765,7 +765,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/peers/add_participants_box.cpp b/Telegram/SourceFiles/boxes/peers/add_participants_box.cpp -+index 25853e0..11cdb22 100644 ++index ab05d9b..00ba3e3 100644 +--- a/Telegram/SourceFiles/boxes/peers/add_participants_box.cpp ++++ b/Telegram/SourceFiles/boxes/peers/add_participants_box.cpp +@@ -1,3 +1,5 @@ @@ -807,13 +807,12 @@ index 0000000..09261a3 + 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 fe67553..d879fba 100644 ++index 45ad6b1..33a101b 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 @@ ++@@ -1,3 +1,5 @@ ++#include "ui/ui_pch.h" ++#include "stdafx.h" -++#include "stdafx.h" + /* + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. @@ -840,7 +839,7 @@ index 0000000..09261a3 + 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 e168e80..44c6737 100644 ++index ea60f38..b8c1f70 100644 +--- a/Telegram/SourceFiles/boxes/peers/edit_participants_box.cpp ++++ b/Telegram/SourceFiles/boxes/peers/edit_participants_box.cpp +@@ -1,3 +1,6 @@ @@ -851,7 +850,7 @@ index 0000000..09261a3 + 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 c1c160a..19d560c 100644 ++index 29019c1..4bc0156 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 @@ @@ -872,7 +871,7 @@ index 0000000..09261a3 + 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 9d52003..7a971e7 100644 ++index 19611e1..696ffcf 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 @@ @@ -883,7 +882,7 @@ index 0000000..09261a3 + 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 70ad41a..5f593a0 100644 ++index aba3714..2e5656a 100644 +--- a/Telegram/SourceFiles/boxes/peers/edit_peer_invite_link.cpp ++++ b/Telegram/SourceFiles/boxes/peers/edit_peer_invite_link.cpp +@@ -1,3 +1,5 @@ @@ -904,7 +903,7 @@ index 0000000..09261a3 + 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 58cfd01..008ed3e 100644 ++index d171501..26b8579 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 @@ @@ -991,6 +990,15 @@ index 0000000..09261a3 + /* + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. ++diff --git a/Telegram/SourceFiles/boxes/peers/toggle_topics_box.cpp b/Telegram/SourceFiles/boxes/peers/toggle_topics_box.cpp ++index 4d6d545..b8cc4ea 100644 ++--- a/Telegram/SourceFiles/boxes/peers/toggle_topics_box.cpp +++++ b/Telegram/SourceFiles/boxes/peers/toggle_topics_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/boxes/peers/verify_peers_box.cpp b/Telegram/SourceFiles/boxes/peers/verify_peers_box.cpp +index b368f5d..bb8ed8d 100644 +--- a/Telegram/SourceFiles/boxes/peers/verify_peers_box.cpp @@ -1012,7 +1020,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/pin_messages_box.cpp b/Telegram/SourceFiles/boxes/pin_messages_box.cpp -+index 163e9de..3a38144 100644 ++index 9ba027e..c1c2c42 100644 +--- a/Telegram/SourceFiles/boxes/pin_messages_box.cpp ++++ b/Telegram/SourceFiles/boxes/pin_messages_box.cpp +@@ -1,3 +1,5 @@ @@ -1022,7 +1030,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/premium_limits_box.cpp b/Telegram/SourceFiles/boxes/premium_limits_box.cpp -+index 325e92c..ef4f9c6 100644 ++index da4120f..0756dcd 100644 +--- a/Telegram/SourceFiles/boxes/premium_limits_box.cpp ++++ b/Telegram/SourceFiles/boxes/premium_limits_box.cpp +@@ -1,3 +1,5 @@ @@ -1102,7 +1110,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/send_gif_with_caption_box.cpp b/Telegram/SourceFiles/boxes/send_gif_with_caption_box.cpp -+index b271028..d8539dd 100644 ++index 7deadbe..648494f 100644 +--- a/Telegram/SourceFiles/boxes/send_gif_with_caption_box.cpp ++++ b/Telegram/SourceFiles/boxes/send_gif_with_caption_box.cpp +@@ -1,3 +1,5 @@ @@ -1112,7 +1120,7 @@ index 0000000..09261a3 + 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 c262435..22f8369 100644 ++index 385ea7e..c703408 100644 +--- a/Telegram/SourceFiles/boxes/share_box.cpp ++++ b/Telegram/SourceFiles/boxes/share_box.cpp +@@ -1,3 +1,5 @@ @@ -1714,7 +1722,7 @@ index 0000000..09261a3 + 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 583fed2..e322bd7 100644 ++index 65940c6..f8fea20 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 @@ @@ -1723,7 +1731,7 @@ index 0000000..09261a3 + 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 593d6f4..ea99ed8 100644 ++index 53e01dd..712710d 100644 +--- a/Telegram/SourceFiles/core/application.cpp ++++ b/Telegram/SourceFiles/core/application.cpp +@@ -1,3 +1,5 @@ @@ -1862,7 +1870,7 @@ index 0000000..09261a3 + 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 832276e..afd10d3 100644 ++index 64e33b1..344e57c 100644 +--- a/Telegram/SourceFiles/core/local_url_handlers.cpp ++++ b/Telegram/SourceFiles/core/local_url_handlers.cpp +@@ -1,3 +1,5 @@ @@ -2030,7 +2038,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/components/promo_suggestions.cpp b/Telegram/SourceFiles/data/components/promo_suggestions.cpp -+index fd66138..bc6905b 100644 ++index 33c0b86..a8585ca 100644 +--- a/Telegram/SourceFiles/data/components/promo_suggestions.cpp ++++ b/Telegram/SourceFiles/data/components/promo_suggestions.cpp +@@ -1,3 +1,5 @@ @@ -2147,7 +2155,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_changes.cpp b/Telegram/SourceFiles/data/data_changes.cpp -+index 773c50d..8726cbc 100644 ++index 5356d48..07ab625 100644 +--- a/Telegram/SourceFiles/data/data_changes.cpp ++++ b/Telegram/SourceFiles/data/data_changes.cpp +@@ -1,3 +1,5 @@ @@ -2157,7 +2165,7 @@ index 0000000..09261a3 + 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 8761065..2d6ae52 100644 ++index 02a9455..b7f4c2b 100644 +--- a/Telegram/SourceFiles/data/data_channel.cpp ++++ b/Telegram/SourceFiles/data/data_channel.cpp +@@ -1,3 +1,5 @@ @@ -2187,7 +2195,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_chat_filters.cpp b/Telegram/SourceFiles/data/data_chat_filters.cpp -+index 4a0d0c2..5461ddc 100644 ++index a2c5f48..7234509 100644 +--- a/Telegram/SourceFiles/data/data_chat_filters.cpp ++++ b/Telegram/SourceFiles/data/data_chat_filters.cpp +@@ -1,3 +1,5 @@ @@ -2197,7 +2205,7 @@ index 0000000..09261a3 + 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 81b3330..5634d15 100644 ++index de38444..1e49721 100644 +--- a/Telegram/SourceFiles/data/data_chat_participant_status.cpp ++++ b/Telegram/SourceFiles/data/data_chat_participant_status.cpp +@@ -1,3 +1,5 @@ @@ -2256,7 +2264,7 @@ index 0000000..09261a3 + 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 4c901da..2e1e00d 100644 ++index 13b30f0..ba95f3c 100644 +--- a/Telegram/SourceFiles/data/data_document_resolver.cpp ++++ b/Telegram/SourceFiles/data/data_document_resolver.cpp +@@ -1,3 +1,5 @@ @@ -2276,7 +2284,7 @@ index 0000000..09261a3 + 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 1bd7135..496275b 100644 ++index ee8d348..9787718 100644 +--- a/Telegram/SourceFiles/data/data_drafts.cpp ++++ b/Telegram/SourceFiles/data/data_drafts.cpp +@@ -1,3 +1,5 @@ @@ -2326,7 +2334,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_forum.cpp b/Telegram/SourceFiles/data/data_forum.cpp -+index 361135d..47f9222 100644 ++index 3890b4c..bdc1e86 100644 +--- a/Telegram/SourceFiles/data/data_forum.cpp ++++ b/Telegram/SourceFiles/data/data_forum.cpp +@@ -1,3 +1,5 @@ @@ -2346,7 +2354,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_forum_topic.cpp b/Telegram/SourceFiles/data/data_forum_topic.cpp -+index 7e79988..26ac997 100644 ++index 7991907..d6bb780 100644 +--- a/Telegram/SourceFiles/data/data_forum_topic.cpp ++++ b/Telegram/SourceFiles/data/data_forum_topic.cpp +@@ -1,3 +1,5 @@ @@ -2376,7 +2384,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_groups.cpp b/Telegram/SourceFiles/data/data_groups.cpp -+index 15bb0d8..0a13e8d 100644 ++index 7af7050..4e20f4f 100644 +--- a/Telegram/SourceFiles/data/data_groups.cpp ++++ b/Telegram/SourceFiles/data/data_groups.cpp +@@ -1,3 +1,5 @@ @@ -2386,7 +2394,7 @@ index 0000000..09261a3 + 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 e9b0b02..98729a3 100644 ++index ad0f7b7..0462e71 100644 +--- a/Telegram/SourceFiles/data/data_histories.cpp ++++ b/Telegram/SourceFiles/data/data_histories.cpp +@@ -1,3 +1,5 @@ @@ -2396,7 +2404,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_history_messages.cpp b/Telegram/SourceFiles/data/data_history_messages.cpp -+index 5d5dffa..d51e9ee 100644 ++index 6711059..938a409 100644 +--- a/Telegram/SourceFiles/data/data_history_messages.cpp ++++ b/Telegram/SourceFiles/data/data_history_messages.cpp +@@ -1,3 +1,5 @@ @@ -2443,7 +2451,7 @@ index 0000000..09261a3 + 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 2686a39..4d3bbe4 100644 ++index cd0f169..0bbe901 100644 +--- a/Telegram/SourceFiles/data/data_media_types.cpp ++++ b/Telegram/SourceFiles/data/data_media_types.cpp +@@ -1,3 +1,5 @@ @@ -2463,7 +2471,7 @@ index 0000000..09261a3 + 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 e5dd4cd..6457fd3 100644 ++index fec98a7..3e1fef9 100644 +--- a/Telegram/SourceFiles/data/data_message_reactions.cpp ++++ b/Telegram/SourceFiles/data/data_message_reactions.cpp +@@ -1,3 +1,5 @@ @@ -2483,7 +2491,7 @@ index 0000000..09261a3 + 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 c2c6145..fb0effd 100644 ++index 46ec093..03c62a4 100644 +--- a/Telegram/SourceFiles/data/data_peer.cpp ++++ b/Telegram/SourceFiles/data/data_peer.cpp +@@ -1,3 +1,5 @@ @@ -2523,7 +2531,7 @@ index 0000000..09261a3 + 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 287dd2e..2b40b62 100644 ++index 5739124..8eb36de 100644 +--- a/Telegram/SourceFiles/data/data_peer_values.cpp ++++ b/Telegram/SourceFiles/data/data_peer_values.cpp +@@ -1,3 +1,5 @@ @@ -2603,7 +2611,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_saved_messages.cpp b/Telegram/SourceFiles/data/data_saved_messages.cpp -+index 9a4f444..9ef1506 100644 ++index 12f3e87..b21103e 100644 +--- a/Telegram/SourceFiles/data/data_saved_messages.cpp ++++ b/Telegram/SourceFiles/data/data_saved_messages.cpp +@@ -1,3 +1,5 @@ @@ -2613,7 +2621,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_saved_sublist.cpp b/Telegram/SourceFiles/data/data_saved_sublist.cpp -+index 2d129a5..1fb5635 100644 ++index c8271b6..5eb3042 100644 +--- a/Telegram/SourceFiles/data/data_saved_sublist.cpp ++++ b/Telegram/SourceFiles/data/data_saved_sublist.cpp +@@ -1,3 +1,5 @@ @@ -2623,7 +2631,7 @@ index 0000000..09261a3 + 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 4a2418e..3ef3761 100644 ++index 6b43192..887401d 100644 +--- a/Telegram/SourceFiles/data/data_search_controller.cpp ++++ b/Telegram/SourceFiles/data/data_search_controller.cpp +@@ -1,3 +1,5 @@ @@ -2643,7 +2651,7 @@ index 0000000..09261a3 + 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 8a19ce6..fd5f0f9 100644 ++index 292dffc..6f2756a 100644 +--- a/Telegram/SourceFiles/data/data_session.cpp ++++ b/Telegram/SourceFiles/data/data_session.cpp +@@ -1,3 +1,5 @@ @@ -2653,7 +2661,7 @@ index 0000000..09261a3 + 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 6834190..65d4345 100644 ++index 5e0c373..4ffb727 100644 +--- a/Telegram/SourceFiles/data/data_shared_media.cpp ++++ b/Telegram/SourceFiles/data/data_shared_media.cpp +@@ -1,3 +1,5 @@ @@ -2663,7 +2671,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_sparse_ids.cpp b/Telegram/SourceFiles/data/data_sparse_ids.cpp -+index b48881c..0d11627 100644 ++index 787c014..d2cdebf 100644 +--- a/Telegram/SourceFiles/data/data_sparse_ids.cpp ++++ b/Telegram/SourceFiles/data/data_sparse_ids.cpp +@@ -1,3 +1,5 @@ @@ -2722,7 +2730,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_thread.cpp b/Telegram/SourceFiles/data/data_thread.cpp -+index 1934c34..daa3313 100644 ++index 47a8f22..aa0c004 100644 +--- a/Telegram/SourceFiles/data/data_thread.cpp ++++ b/Telegram/SourceFiles/data/data_thread.cpp +@@ -1,3 +1,5 @@ @@ -2861,7 +2869,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/dialogs/dialogs_entry.cpp b/Telegram/SourceFiles/dialogs/dialogs_entry.cpp -+index 501883a..d45c129 100644 ++index f863378..a281450 100644 +--- a/Telegram/SourceFiles/dialogs/dialogs_entry.cpp ++++ b/Telegram/SourceFiles/dialogs/dialogs_entry.cpp +@@ -1,3 +1,5 @@ @@ -2881,7 +2889,7 @@ index 0000000..09261a3 + 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 9eba2ea..76a5b1a 100644 ++index 8011556..d3f6dd9 100644 +--- a/Telegram/SourceFiles/dialogs/dialogs_inner_widget.cpp ++++ b/Telegram/SourceFiles/dialogs/dialogs_inner_widget.cpp +@@ -1,3 +1,5 @@ @@ -2911,7 +2919,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/dialogs/dialogs_main_list.cpp b/Telegram/SourceFiles/dialogs/dialogs_main_list.cpp -+index 9c9ad67..899e7e3 100644 ++index 5e525b5..3b7b984 100644 +--- a/Telegram/SourceFiles/dialogs/dialogs_main_list.cpp ++++ b/Telegram/SourceFiles/dialogs/dialogs_main_list.cpp +@@ -1,3 +1,5 @@ @@ -2941,7 +2949,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/dialogs/dialogs_row.cpp b/Telegram/SourceFiles/dialogs/dialogs_row.cpp -+index c39133e..d0f5305 100644 ++index 1082a20..b3294cc 100644 +--- a/Telegram/SourceFiles/dialogs/dialogs_row.cpp ++++ b/Telegram/SourceFiles/dialogs/dialogs_row.cpp +@@ -1,3 +1,5 @@ @@ -2971,7 +2979,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/dialogs/dialogs_top_bar_suggestion.cpp b/Telegram/SourceFiles/dialogs/dialogs_top_bar_suggestion.cpp -+index 2b019db..cb3a2cf 100644 ++index 400a1f5..a3318e6 100644 +--- a/Telegram/SourceFiles/dialogs/dialogs_top_bar_suggestion.cpp ++++ b/Telegram/SourceFiles/dialogs/dialogs_top_bar_suggestion.cpp +@@ -1,3 +1,5 @@ @@ -2981,7 +2989,7 @@ index 0000000..09261a3 + 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 4223f86..75b7c51 100644 ++index e3dc7d9..8508df6 100644 +--- a/Telegram/SourceFiles/dialogs/dialogs_widget.cpp ++++ b/Telegram/SourceFiles/dialogs/dialogs_widget.cpp +@@ -1,3 +1,5 @@ @@ -3009,7 +3017,7 @@ index 0000000..09261a3 + 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 9d312d4..0be7bc1 100644 ++index 924b7c0..b77aa7c 100644 +--- a/Telegram/SourceFiles/dialogs/ui/dialogs_layout.cpp ++++ b/Telegram/SourceFiles/dialogs/ui/dialogs_layout.cpp +@@ -1,3 +1,5 @@ @@ -3019,7 +3027,7 @@ index 0000000..09261a3 + 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 b45708b..d3df130 100644 ++index 9553774..a856481 100644 +--- a/Telegram/SourceFiles/dialogs/ui/dialogs_message_view.cpp ++++ b/Telegram/SourceFiles/dialogs/ui/dialogs_message_view.cpp +@@ -1,3 +1,5 @@ @@ -3067,7 +3075,7 @@ index 0000000..09261a3 + 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 82fc64a..503fa48 100644 ++index 9286e40..62f0450 100644 +--- a/Telegram/SourceFiles/dialogs/ui/dialogs_topics_view.cpp ++++ b/Telegram/SourceFiles/dialogs/ui/dialogs_topics_view.cpp +@@ -1,3 +1,5 @@ @@ -3256,7 +3264,7 @@ index 0000000..09261a3 + 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 e3bf2f2..fcb2c8a 100644 ++index d9b66c8..c8a3e93 100644 +--- a/Telegram/SourceFiles/export/data/export_data_types.cpp ++++ b/Telegram/SourceFiles/export/data/export_data_types.cpp +@@ -1,3 +1,4 @@ @@ -3320,7 +3328,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/export/output/export_output_html.cpp b/Telegram/SourceFiles/export/output/export_output_html.cpp -+index 3d960a3..fa8a052 100644 ++index ed73f81..98e25b3 100644 +--- a/Telegram/SourceFiles/export/output/export_output_html.cpp ++++ b/Telegram/SourceFiles/export/output/export_output_html.cpp +@@ -1,3 +1,4 @@ @@ -3338,7 +3346,7 @@ index 0000000..09261a3 + 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 772bc6f..109857a 100644 ++index 7af9bc0..9ba983a 100644 +--- a/Telegram/SourceFiles/export/output/export_output_json.cpp ++++ b/Telegram/SourceFiles/export/output/export_output_json.cpp +@@ -1,3 +1,4 @@ @@ -3415,7 +3423,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/admin_log/history_admin_log_inner.cpp b/Telegram/SourceFiles/history/admin_log/history_admin_log_inner.cpp -+index 61a599c..8f23341 100644 ++index 0d91765..cb33542 100644 +--- a/Telegram/SourceFiles/history/admin_log/history_admin_log_inner.cpp ++++ b/Telegram/SourceFiles/history/admin_log/history_admin_log_inner.cpp +@@ -1,3 +1,5 @@ @@ -3445,7 +3453,7 @@ index 0000000..09261a3 + 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 cd8578a..844371c 100644 ++index 40ba51d..1e06111 100644 +--- a/Telegram/SourceFiles/history/history.cpp ++++ b/Telegram/SourceFiles/history/history.cpp +@@ -1,3 +1,5 @@ @@ -3465,7 +3473,7 @@ index 0000000..09261a3 + 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 1edd585..475e1ff 100644 ++index 3978655..cd5aef9 100644 +--- a/Telegram/SourceFiles/history/history_inner_widget.cpp ++++ b/Telegram/SourceFiles/history/history_inner_widget.cpp +@@ -1,3 +1,5 @@ @@ -3475,7 +3483,7 @@ index 0000000..09261a3 + 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 7f22efb..6efa309 100644 ++index 58e7474..fea8c56 100644 +--- a/Telegram/SourceFiles/history/history_item.cpp ++++ b/Telegram/SourceFiles/history/history_item.cpp +@@ -1,3 +1,5 @@ @@ -3485,7 +3493,7 @@ index 0000000..09261a3 + 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 9b3f23f..59d09d9 100644 ++index edb6a09..566c954 100644 +--- a/Telegram/SourceFiles/history/history_item_components.cpp ++++ b/Telegram/SourceFiles/history/history_item_components.cpp +@@ -1,3 +1,5 @@ @@ -3505,7 +3513,7 @@ index 0000000..09261a3 + 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 7c38991..834349f 100644 ++index 6bf1382..8b285f5 100644 +--- a/Telegram/SourceFiles/history/history_item_helpers.cpp ++++ b/Telegram/SourceFiles/history/history_item_helpers.cpp +@@ -1,3 +1,5 @@ @@ -3555,7 +3563,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/history_unread_things.cpp b/Telegram/SourceFiles/history/history_unread_things.cpp -+index 4cca974..8048b07 100644 ++index 1ba1678..ab9f1da 100644 +--- a/Telegram/SourceFiles/history/history_unread_things.cpp ++++ b/Telegram/SourceFiles/history/history_unread_things.cpp +@@ -1,3 +1,5 @@ @@ -3594,7 +3602,7 @@ index 0000000..09261a3 + 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 f32fd69..193fecb 100644 ++index 5aedac9..441bcf8 100644 +--- a/Telegram/SourceFiles/history/history_widget.cpp ++++ b/Telegram/SourceFiles/history/history_widget.cpp +@@ -1,3 +1,5 @@ @@ -3613,7 +3621,7 @@ index 0000000..09261a3 + 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 50a49a7..dd68a57 100644 ++index e0b3256..d85a4d8 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 @@ @@ -3642,7 +3650,7 @@ index 0000000..09261a3 + 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 549d252..85757fc 100644 ++index 1277052..3b62ac2 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 @@ @@ -3652,7 +3660,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/controls/history_view_forward_panel.cpp b/Telegram/SourceFiles/history/view/controls/history_view_forward_panel.cpp -+index 44e059f..edf368e 100644 ++index ff314cd..aead22b 100644 +--- a/Telegram/SourceFiles/history/view/controls/history_view_forward_panel.cpp ++++ b/Telegram/SourceFiles/history/view/controls/history_view_forward_panel.cpp +@@ -1,3 +1,5 @@ @@ -3701,7 +3709,7 @@ index 0000000..09261a3 + 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 486bcd9..e0979e5 100644 ++index c4028d3..514b090 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 @@ @@ -3721,7 +3729,7 @@ index 0000000..09261a3 + 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 6b62e06..186c353 100644 ++index 5e9d3ee..3ddd83e 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 @@ @@ -3730,6 +3738,16 @@ index 0000000..09261a3 + /* + 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_section.cpp b/Telegram/SourceFiles/history/view/history_view_chat_section.cpp ++index 6bbe275..b179288 100644 ++--- a/Telegram/SourceFiles/history/view/history_view_chat_section.cpp +++++ b/Telegram/SourceFiles/history/view/history_view_chat_section.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/history/view/history_view_contact_status.cpp b/Telegram/SourceFiles/history/view/history_view_contact_status.cpp +index 13e5ce6..d730aed 100644 +--- a/Telegram/SourceFiles/history/view/history_view_contact_status.cpp @@ -3741,7 +3759,7 @@ index 0000000..09261a3 + 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 b28099f..c76e08f 100644 ++index 58ea3e2..114b068 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 @@ @@ -3771,7 +3789,7 @@ index 0000000..09261a3 + 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 63faa7f..0100e8a 100644 ++index 3e7377f..77acecf 100644 +--- a/Telegram/SourceFiles/history/view/history_view_element.cpp ++++ b/Telegram/SourceFiles/history/view/history_view_element.cpp +@@ -1,3 +1,5 @@ @@ -3821,7 +3839,7 @@ index 0000000..09261a3 + 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 697b96f..2126d63 100644 ++index 7a86adb..2a5b0f4 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 @@ @@ -3831,7 +3849,7 @@ index 0000000..09261a3 + 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 9d7c809..08ebbe5 100644 ++index 47ec86c..b543a3f 100644 +--- a/Telegram/SourceFiles/history/view/history_view_message.cpp ++++ b/Telegram/SourceFiles/history/view/history_view_message.cpp +@@ -1,3 +1,5 @@ @@ -3861,7 +3879,7 @@ index 0000000..09261a3 + 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_pinned_section.cpp b/Telegram/SourceFiles/history/view/history_view_pinned_section.cpp -+index b8c380c..1b0f339 100644 ++index 446d957..e53f513 100644 +--- a/Telegram/SourceFiles/history/view/history_view_pinned_section.cpp ++++ b/Telegram/SourceFiles/history/view/history_view_pinned_section.cpp +@@ -1,3 +1,5 @@ @@ -3871,7 +3889,7 @@ index 0000000..09261a3 + 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_pinned_tracker.cpp b/Telegram/SourceFiles/history/view/history_view_pinned_tracker.cpp -+index 24abaa0..7908252 100644 ++index fcc7226..1aece33 100644 +--- a/Telegram/SourceFiles/history/view/history_view_pinned_tracker.cpp ++++ b/Telegram/SourceFiles/history/view/history_view_pinned_tracker.cpp +@@ -1,3 +1,5 @@ @@ -3890,16 +3908,6 @@ index 0000000..09261a3 + /* + 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 768f42b..1f9481b 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 @@ -++#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/history/view/history_view_reply.cpp b/Telegram/SourceFiles/history/view/history_view_reply.cpp +index 3d29c80..c577001 100644 +--- a/Telegram/SourceFiles/history/view/history_view_reply.cpp @@ -3911,7 +3919,7 @@ index 0000000..09261a3 + 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_requests_bar.cpp b/Telegram/SourceFiles/history/view/history_view_requests_bar.cpp -+index e10a50b..68578e8 100644 ++index d0ddb48..a8783c7 100644 +--- a/Telegram/SourceFiles/history/view/history_view_requests_bar.cpp ++++ b/Telegram/SourceFiles/history/view/history_view_requests_bar.cpp +@@ -1,3 +1,5 @@ @@ -3951,7 +3959,7 @@ index 0000000..09261a3 + 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_service_message.cpp b/Telegram/SourceFiles/history/view/history_view_service_message.cpp -+index 02a4aed..68f7dd9 100644 ++index 02470dc..7c4029d 100644 +--- a/Telegram/SourceFiles/history/view/history_view_service_message.cpp ++++ b/Telegram/SourceFiles/history/view/history_view_service_message.cpp +@@ -1,3 +1,5 @@ @@ -3980,10 +3988,10 @@ index 0000000..09261a3 + /* + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. -+diff --git a/Telegram/SourceFiles/history/view/history_view_sublist_section.cpp b/Telegram/SourceFiles/history/view/history_view_sublist_section.cpp -+index 793133b..c8cbbc2 100644 -+--- a/Telegram/SourceFiles/history/view/history_view_sublist_section.cpp -++++ b/Telegram/SourceFiles/history/view/history_view_sublist_section.cpp ++diff --git a/Telegram/SourceFiles/history/view/history_view_subsection_tabs.cpp b/Telegram/SourceFiles/history/view/history_view_subsection_tabs.cpp ++index 6c5187c..317944c 100644 ++--- a/Telegram/SourceFiles/history/view/history_view_subsection_tabs.cpp +++++ b/Telegram/SourceFiles/history/view/history_view_subsection_tabs.cpp +@@ -1,3 +1,5 @@ ++#include "ui/ui_pch.h" ++#include "stdafx.h" @@ -4001,7 +4009,7 @@ index 0000000..09261a3 + 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 c4548ee..4841c52 100644 ++index a04c003..4d41069 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 @@ @@ -4021,7 +4029,7 @@ index 0000000..09261a3 + 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_translate_bar.cpp b/Telegram/SourceFiles/history/view/history_view_translate_bar.cpp -+index 576c1ac..b93c9e0 100644 ++index 11e9cc8..5c44e6b 100644 +--- a/Telegram/SourceFiles/history/view/history_view_translate_bar.cpp ++++ b/Telegram/SourceFiles/history/view/history_view_translate_bar.cpp +@@ -1,3 +1,5 @@ @@ -4481,7 +4489,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/channel_statistics/boosts/create_giveaway_box.cpp b/Telegram/SourceFiles/info/channel_statistics/boosts/create_giveaway_box.cpp -+index a5a7361..cd2b381 100644 ++index 09f5cde..da0c1d1 100644 +--- a/Telegram/SourceFiles/info/channel_statistics/boosts/create_giveaway_box.cpp ++++ b/Telegram/SourceFiles/info/channel_statistics/boosts/create_giveaway_box.cpp +@@ -1,3 +1,5 @@ @@ -4596,7 +4604,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/common_groups/info_common_groups_widget.cpp b/Telegram/SourceFiles/info/common_groups/info_common_groups_widget.cpp -+index f81019b..0bbe23a 100644 ++index 46ad5a3..5af5d34 100644 +--- a/Telegram/SourceFiles/info/common_groups/info_common_groups_widget.cpp ++++ b/Telegram/SourceFiles/info/common_groups/info_common_groups_widget.cpp +@@ -1,3 +1,5 @@ @@ -4680,7 +4688,7 @@ index 0000000..09261a3 +\ 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 f392e13..69e1dcc 100644 ++index efbfbdc..2386652 100644 +--- a/Telegram/SourceFiles/info/info_content_widget.cpp ++++ b/Telegram/SourceFiles/info/info_content_widget.cpp +@@ -1,3 +1,5 @@ @@ -4690,7 +4698,7 @@ index 0000000..09261a3 + 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 b1ec130..c73d8b6 100644 ++index 49054d6..f6ba54d 100644 +--- a/Telegram/SourceFiles/info/info_controller.cpp ++++ b/Telegram/SourceFiles/info/info_controller.cpp +@@ -1,3 +1,5 @@ @@ -4710,7 +4718,7 @@ index 0000000..09261a3 + 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 40f7733..e8eba9d 100644 ++index 945bda8..d0761a7 100644 +--- a/Telegram/SourceFiles/info/info_memento.cpp ++++ b/Telegram/SourceFiles/info/info_memento.cpp +@@ -1,3 +1,5 @@ @@ -4750,7 +4758,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/media/info_media_buttons.cpp b/Telegram/SourceFiles/info/media/info_media_buttons.cpp -+index ae10a73..760653e 100644 ++index 5a2b78e..8b94f60 100644 +--- a/Telegram/SourceFiles/info/media/info_media_buttons.cpp ++++ b/Telegram/SourceFiles/info/media/info_media_buttons.cpp +@@ -1,3 +1,5 @@ @@ -4780,7 +4788,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/media/info_media_inner_widget.cpp b/Telegram/SourceFiles/info/media/info_media_inner_widget.cpp -+index 6f2beda..b365ef8 100644 ++index faccefc..6c1a13c 100644 +--- a/Telegram/SourceFiles/info/media/info_media_inner_widget.cpp ++++ b/Telegram/SourceFiles/info/media/info_media_inner_widget.cpp +@@ -1,3 +1,5 @@ @@ -4800,7 +4808,7 @@ index 0000000..09261a3 + 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 6814059..a6d0893 100644 ++index d4d99d1..d0ef17a 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 @@ @@ -4810,7 +4818,7 @@ index 0000000..09261a3 + 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_provider.cpp b/Telegram/SourceFiles/info/media/info_media_provider.cpp -+index 62f7fdf..30db96c 100644 ++index 88f47bc..7c02840 100644 +--- a/Telegram/SourceFiles/info/media/info_media_provider.cpp ++++ b/Telegram/SourceFiles/info/media/info_media_provider.cpp +@@ -1,3 +1,5 @@ @@ -4820,7 +4828,7 @@ index 0000000..09261a3 + 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_widget.cpp b/Telegram/SourceFiles/info/media/info_media_widget.cpp -+index 5d2af53..a368964 100644 ++index 58d9e8e..d5482c3 100644 +--- a/Telegram/SourceFiles/info/media/info_media_widget.cpp ++++ b/Telegram/SourceFiles/info/media/info_media_widget.cpp +@@ -1,3 +1,5 @@ @@ -4830,7 +4838,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/members/info_members_widget.cpp b/Telegram/SourceFiles/info/members/info_members_widget.cpp -+index 0a00a73..f92bb3d 100644 ++index 07609a4..f722d00 100644 +--- a/Telegram/SourceFiles/info/members/info_members_widget.cpp ++++ b/Telegram/SourceFiles/info/members/info_members_widget.cpp +@@ -1,3 +1,5 @@ @@ -4850,7 +4858,7 @@ index 0000000..09261a3 + 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 b3454d1..4ff0422 100644 ++index 86b7d7b..6657574 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 @@ @@ -4880,16 +4888,17 @@ index 0000000..09261a3 + 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 e38d772..0e13352 100644 ++index 31a9468..f21e255 100644 +--- a/Telegram/SourceFiles/info/profile/info_profile_actions.cpp ++++ b/Telegram/SourceFiles/info/profile/info_profile_actions.cpp -+@@ -1,3 +1,4 @@ ++@@ -1,3 +1,5 @@ +++#include "ui/ui_pch.h" ++#include "stdafx.h" + /* + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/profile/info_profile_badge.cpp b/Telegram/SourceFiles/info/profile/info_profile_badge.cpp -+index b87931b..ad17ac3 100644 ++index 8cdfa8c..815c167 100644 +--- a/Telegram/SourceFiles/info/profile/info_profile_badge.cpp ++++ b/Telegram/SourceFiles/info/profile/info_profile_badge.cpp +@@ -1,3 +1,5 @@ @@ -4899,7 +4908,7 @@ index 0000000..09261a3 + 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 aaf8a82..d35868c 100644 ++index 05a11f3..0696674 100644 +--- a/Telegram/SourceFiles/info/profile/info_profile_cover.cpp ++++ b/Telegram/SourceFiles/info/profile/info_profile_cover.cpp +@@ -1,3 +1,5 @@ @@ -4928,7 +4937,7 @@ index 0000000..09261a3 + 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 42594dd..be4fd40 100644 ++index 5fe27a2..b3dbe0c 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 @@ @@ -4948,7 +4957,7 @@ index 0000000..09261a3 + 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_members_controllers.cpp b/Telegram/SourceFiles/info/profile/info_profile_members_controllers.cpp -+index 1987be5..5e41709 100644 ++index 619a520..488f021 100644 +--- a/Telegram/SourceFiles/info/profile/info_profile_members_controllers.cpp ++++ b/Telegram/SourceFiles/info/profile/info_profile_members_controllers.cpp +@@ -1,3 +1,5 @@ @@ -4978,7 +4987,7 @@ index 0000000..09261a3 + 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 8caddbf..3b4f44c 100644 ++index ac25b6c..2b3edef 100644 +--- a/Telegram/SourceFiles/info/profile/info_profile_values.cpp ++++ b/Telegram/SourceFiles/info/profile/info_profile_values.cpp +@@ -1,3 +1,5 @@ @@ -4988,7 +4997,7 @@ index 0000000..09261a3 + 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_widget.cpp b/Telegram/SourceFiles/info/profile/info_profile_widget.cpp -+index 6f62b98..1d939db 100644 ++index a11face..55f8cdf 100644 +--- a/Telegram/SourceFiles/info/profile/info_profile_widget.cpp ++++ b/Telegram/SourceFiles/info/profile/info_profile_widget.cpp +@@ -1,3 +1,5 @@ @@ -5008,7 +5017,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/requests_list/info_requests_list_widget.cpp b/Telegram/SourceFiles/info/requests_list/info_requests_list_widget.cpp -+index 2fae27d..2511504 100644 ++index b006dbb..66babe4 100644 +--- a/Telegram/SourceFiles/info/requests_list/info_requests_list_widget.cpp ++++ b/Telegram/SourceFiles/info/requests_list/info_requests_list_widget.cpp +@@ -1,3 +1,5 @@ @@ -5018,7 +5027,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/saved/info_saved_sublists_widget.cpp b/Telegram/SourceFiles/info/saved/info_saved_sublists_widget.cpp -+index 9a07088..e86b11d 100644 ++index 298ef5f..79ddc5d 100644 +--- a/Telegram/SourceFiles/info/saved/info_saved_sublists_widget.cpp ++++ b/Telegram/SourceFiles/info/saved/info_saved_sublists_widget.cpp +@@ -1,3 +1,5 @@ @@ -5038,7 +5047,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +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 ++index 003166f..d92fc16 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 @@ @@ -5048,7 +5057,7 @@ index 0000000..09261a3 + 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 5412b58..17a80bd 100644 ++index f02f2f0..2378a31 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 @@ @@ -5088,7 +5097,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/stories/info_stories_inner_widget.cpp b/Telegram/SourceFiles/info/stories/info_stories_inner_widget.cpp -+index d0ab12c..72c2a83 100644 ++index 4848fd3..06df8f1 100644 +--- a/Telegram/SourceFiles/info/stories/info_stories_inner_widget.cpp ++++ b/Telegram/SourceFiles/info/stories/info_stories_inner_widget.cpp +@@ -1,3 +1,5 @@ @@ -5205,7 +5214,7 @@ index 0000000..09261a3 + 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 92664d4..076c7c4 100644 ++index aa99af3..2ff995a 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 @@ @@ -5250,7 +5259,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/inline_bots/inline_bot_result.cpp b/Telegram/SourceFiles/inline_bots/inline_bot_result.cpp -+index 0b5c01c..f27366b 100644 ++index b79c168..d4b8b9e 100644 +--- a/Telegram/SourceFiles/inline_bots/inline_bot_result.cpp ++++ b/Telegram/SourceFiles/inline_bots/inline_bot_result.cpp +@@ -1,3 +1,4 @@ @@ -5407,7 +5416,7 @@ index 0000000..09261a3 + 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 b4fbc4e..e23fd53 100644 ++index 09a7e2e..120d3c2 100644 +--- a/Telegram/SourceFiles/iv/iv_instance.cpp ++++ b/Telegram/SourceFiles/iv/iv_instance.cpp +@@ -1,3 +1,6 @@ @@ -5596,7 +5605,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/main/main_app_config.cpp b/Telegram/SourceFiles/main/main_app_config.cpp -+index f5ace98..4e66e79 100644 ++index 3e53a82..d0233ab 100644 +--- a/Telegram/SourceFiles/main/main_app_config.cpp ++++ b/Telegram/SourceFiles/main/main_app_config.cpp +@@ -1,3 +1,4 @@ @@ -5632,7 +5641,7 @@ index 0000000..09261a3 + 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 7d13cde..d3a4388 100644 ++index 7f562e3..c9af4cc 100644 +--- a/Telegram/SourceFiles/main/main_session_settings.cpp ++++ b/Telegram/SourceFiles/main/main_session_settings.cpp +@@ -1,3 +1,4 @@ @@ -5659,7 +5668,7 @@ index 0000000..09261a3 + 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 2a458c2..94c5c83 100644 ++index a26693f..724eb35 100644 +--- a/Telegram/SourceFiles/mainwidget.cpp ++++ b/Telegram/SourceFiles/mainwidget.cpp +@@ -1,3 +1,4 @@ @@ -5830,7 +5839,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/media/player/media_player_instance.cpp b/Telegram/SourceFiles/media/player/media_player_instance.cpp -+index de1932b..2de32b2 100644 ++index c73c34e..4bbba8e 100644 +--- a/Telegram/SourceFiles/media/player/media_player_instance.cpp ++++ b/Telegram/SourceFiles/media/player/media_player_instance.cpp +@@ -1,3 +1,5 @@ @@ -6169,7 +6178,7 @@ index 0000000..09261a3 + 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 1ea8c3f..2e29344a4 100644 ++index 99f7bc2..e2598a6 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 @@ @@ -6277,7 +6286,7 @@ index 0000000..09261a3 + 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 118bcee..0e483bd 100644 ++index 4125ac0..6397b5d 100644 +--- a/Telegram/SourceFiles/menu/menu_send.cpp ++++ b/Telegram/SourceFiles/menu/menu_send.cpp +@@ -1,3 +1,5 @@ @@ -6418,7 +6427,7 @@ index 0000000..09261a3 + 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 6d09b67..b13f232 100644 ++index 56c6375..1a8aa74 100644 +--- a/Telegram/SourceFiles/mtproto/details/mtproto_domain_resolver.cpp ++++ b/Telegram/SourceFiles/mtproto/details/mtproto_domain_resolver.cpp +@@ -1,3 +1,4 @@ @@ -7001,7 +7010,7 @@ index 0000000..09261a3 + 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 0d7526d..6a234ff 100644 ++index cc5e0f3..154376f 100644 +--- a/Telegram/SourceFiles/platform/linux/notifications_manager_haiku.cpp ++++ b/Telegram/SourceFiles/platform/linux/notifications_manager_haiku.cpp +@@ -1,3 +1,4 @@ @@ -7010,7 +7019,7 @@ index 0000000..09261a3 + 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 d49fecb..0370a07 100644 ++index f73fcea..5d699d0 100644 +--- a/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp ++++ b/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp +@@ -1,3 +1,4 @@ @@ -7019,7 +7028,7 @@ index 0000000..09261a3 + /* + 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 6b53ba0..3cbdcc0 100644 ++index 86ddacf..7732941 100644 +--- a/Telegram/SourceFiles/platform/linux/specific_linux.cpp ++++ b/Telegram/SourceFiles/platform/linux/specific_linux.cpp +@@ -1,3 +1,4 @@ @@ -7189,7 +7198,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/settings/business/settings_shortcut_messages.cpp b/Telegram/SourceFiles/settings/business/settings_shortcut_messages.cpp -+index db5a4d9..d3253d6 100644 ++index 8963cff..a5c9ba4 100644 +--- a/Telegram/SourceFiles/settings/business/settings_shortcut_messages.cpp ++++ b/Telegram/SourceFiles/settings/business/settings_shortcut_messages.cpp +@@ -1,3 +1,5 @@ @@ -7245,7 +7254,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/settings/cloud_password/settings_cloud_password_input.cpp b/Telegram/SourceFiles/settings/cloud_password/settings_cloud_password_input.cpp -+index 0064dcb..5246fde 100644 ++index 7719fc2..490ec88 100644 +--- a/Telegram/SourceFiles/settings/cloud_password/settings_cloud_password_input.cpp ++++ b/Telegram/SourceFiles/settings/cloud_password/settings_cloud_password_input.cpp +@@ -1,3 +1,4 @@ @@ -7298,6 +7307,15 @@ index 0000000..09261a3 + /* + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. ++diff --git a/Telegram/SourceFiles/settings/cloud_password/settings_cloud_password_validate_icon.cpp b/Telegram/SourceFiles/settings/cloud_password/settings_cloud_password_validate_icon.cpp ++index 7ea244e..d32f05c 100644 ++--- a/Telegram/SourceFiles/settings/cloud_password/settings_cloud_password_validate_icon.cpp +++++ b/Telegram/SourceFiles/settings/cloud_password/settings_cloud_password_validate_icon.cpp ++@@ -1,3 +1,4 @@ +++#include "stdafx.h" ++ /* ++ This file is part of Telegram Desktop, ++ the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/settings/settings_active_sessions.cpp b/Telegram/SourceFiles/settings/settings_active_sessions.cpp +index 2b8368b..140c084 100644 +--- a/Telegram/SourceFiles/settings/settings_active_sessions.cpp @@ -7362,7 +7380,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/settings/settings_common.cpp b/Telegram/SourceFiles/settings/settings_common.cpp -+index 465a707..a882c2d 100644 ++index 68bcecc..4f515fb 100644 +--- a/Telegram/SourceFiles/settings/settings_common.cpp ++++ b/Telegram/SourceFiles/settings/settings_common.cpp +@@ -1,3 +1,4 @@ @@ -7452,7 +7470,7 @@ index 0000000..09261a3 + 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 07ad5e1..5995b94 100644 ++index 1d65911..04d7d90 100644 +--- a/Telegram/SourceFiles/settings/settings_main.cpp ++++ b/Telegram/SourceFiles/settings/settings_main.cpp +@@ -1,3 +1,4 @@ @@ -7533,7 +7551,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/settings/settings_websites.cpp b/Telegram/SourceFiles/settings/settings_websites.cpp -+index 836f20a..d1526d9 100644 ++index 7f49599..5554ae2 100644 +--- a/Telegram/SourceFiles/settings/settings_websites.cpp ++++ b/Telegram/SourceFiles/settings/settings_websites.cpp +@@ -1,3 +1,4 @@ @@ -7551,7 +7569,7 @@ index 0000000..09261a3 + 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 4f9471c..945e2e6 100644 ++index 6241901..c254d1d 100644 +--- a/Telegram/SourceFiles/statistics/chart_rulers_data.cpp ++++ b/Telegram/SourceFiles/statistics/chart_rulers_data.cpp +@@ -1,3 +1,4 @@ @@ -7623,7 +7641,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/statistics/view/chart_rulers_view.cpp b/Telegram/SourceFiles/statistics/view/chart_rulers_view.cpp -+index 8a94d10..93dea4d 100644 ++index fc8d98a..3d02ee5 100644 +--- a/Telegram/SourceFiles/statistics/view/chart_rulers_view.cpp ++++ b/Telegram/SourceFiles/statistics/view/chart_rulers_view.cpp +@@ -1,3 +1,4 @@ @@ -7713,7 +7731,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/storage/details/storage_settings_scheme.cpp b/Telegram/SourceFiles/storage/details/storage_settings_scheme.cpp -+index d942143..90cbba7 100644 ++index ebef828..abbab87 100644 +--- a/Telegram/SourceFiles/storage/details/storage_settings_scheme.cpp ++++ b/Telegram/SourceFiles/storage/details/storage_settings_scheme.cpp +@@ -1,3 +1,4 @@ @@ -7767,7 +7785,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/storage/localimageloader.cpp b/Telegram/SourceFiles/storage/localimageloader.cpp -+index 476a152..419a9ad 100644 ++index 8603cd7..dae06c2 100644 +--- a/Telegram/SourceFiles/storage/localimageloader.cpp ++++ b/Telegram/SourceFiles/storage/localimageloader.cpp +@@ -1,3 +1,4 @@ @@ -7812,7 +7830,7 @@ index 0000000..09261a3 + 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 339840d..a0c6ab7 100644 ++index 5d88879..9cae35f 100644 +--- a/Telegram/SourceFiles/storage/storage_account.cpp ++++ b/Telegram/SourceFiles/storage/storage_account.cpp +@@ -1,3 +1,4 @@ @@ -7875,7 +7893,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/storage/storage_shared_media.cpp b/Telegram/SourceFiles/storage/storage_shared_media.cpp -+index 0326ad3..b22bbf4 100644 ++index 89ce8f6..3889cbf 100644 +--- a/Telegram/SourceFiles/storage/storage_shared_media.cpp ++++ b/Telegram/SourceFiles/storage/storage_shared_media.cpp +@@ -1,3 +1,4 @@ @@ -7929,7 +7947,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/support/support_helper.cpp b/Telegram/SourceFiles/support/support_helper.cpp -+index 892bda6..efb5c6d 100644 ++index 64e9ff8..4eb3a45 100644 +--- a/Telegram/SourceFiles/support/support_helper.cpp ++++ b/Telegram/SourceFiles/support/support_helper.cpp +@@ -1,3 +1,4 @@ @@ -8576,7 +8594,7 @@ index 0000000..09261a3 + 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 3c904cd..7c543cf 100644 ++index 36a03c6..72a8f4f 100644 +--- a/Telegram/SourceFiles/ui/controls/round_video_recorder.cpp ++++ b/Telegram/SourceFiles/ui/controls/round_video_recorder.cpp +@@ -1,3 +1,4 @@ @@ -8612,6 +8630,15 @@ index 0000000..09261a3 + /* + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. ++diff --git a/Telegram/SourceFiles/ui/controls/subsection_tabs_slider.cpp b/Telegram/SourceFiles/ui/controls/subsection_tabs_slider.cpp ++index d1006e5..4910382 100644 ++--- a/Telegram/SourceFiles/ui/controls/subsection_tabs_slider.cpp +++++ b/Telegram/SourceFiles/ui/controls/subsection_tabs_slider.cpp ++@@ -1,3 +1,4 @@ +++#include "ui/ui_pch.h" ++ /* ++ This file is part of Telegram Desktop, ++ the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/controls/swipe_handler.cpp b/Telegram/SourceFiles/ui/controls/swipe_handler.cpp +index b39afc3..0423cd0 100644 +--- a/Telegram/SourceFiles/ui/controls/swipe_handler.cpp @@ -8631,7 +8658,7 @@ index 0000000..09261a3 + 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 39faf9c..bf8d47b 100644 ++index ed38247..7f0f9ee 100644 +--- a/Telegram/SourceFiles/ui/controls/userpic_button.cpp ++++ b/Telegram/SourceFiles/ui/controls/userpic_button.cpp +@@ -1,3 +1,5 @@ @@ -8678,7 +8705,7 @@ index 0000000..09261a3 + 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 f653886..857d752 100644 ++index 32f1647..02d56e6 100644 +--- a/Telegram/SourceFiles/ui/dynamic_thumbnails.cpp ++++ b/Telegram/SourceFiles/ui/dynamic_thumbnails.cpp +@@ -1,3 +1,5 @@ @@ -8864,7 +8891,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/empty_userpic.cpp b/Telegram/SourceFiles/ui/empty_userpic.cpp -+index ea38baa..80a69e5 100644 ++index e731062..38609f4 100644 +--- a/Telegram/SourceFiles/ui/empty_userpic.cpp ++++ b/Telegram/SourceFiles/ui/empty_userpic.cpp +@@ -1,3 +1,4 @@ @@ -9014,7 +9041,7 @@ index 0000000..09261a3 + 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 d53f617..1dd7501 100644 ++index 88f6d37..68e71bc 100644 +--- a/Telegram/SourceFiles/ui/unread_badge.cpp ++++ b/Telegram/SourceFiles/ui/unread_badge.cpp +@@ -1,3 +1,5 @@ @@ -9033,7 +9060,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/userpic_view.cpp b/Telegram/SourceFiles/ui/userpic_view.cpp -+index f14ac76..d0d470a 100644 ++index ff5f336..c0cbcf9 100644 +--- a/Telegram/SourceFiles/ui/userpic_view.cpp ++++ b/Telegram/SourceFiles/ui/userpic_view.cpp +@@ -1,3 +1,4 @@ @@ -9106,7 +9133,7 @@ index 0000000..09261a3 + 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 d55da80..292cf2f 100644 ++index 3c80be1..46ae0af 100644 +--- a/Telegram/SourceFiles/ui/widgets/discrete_sliders.cpp ++++ b/Telegram/SourceFiles/ui/widgets/discrete_sliders.cpp +@@ -1,3 +1,4 @@ @@ -9115,7 +9142,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/widgets/expandable_peer_list.cpp b/Telegram/SourceFiles/ui/widgets/expandable_peer_list.cpp -+index fa43f4b..379f5d7 100644 ++index a033a17..8319d55 100644 +--- a/Telegram/SourceFiles/ui/widgets/expandable_peer_list.cpp ++++ b/Telegram/SourceFiles/ui/widgets/expandable_peer_list.cpp +@@ -1,3 +1,5 @@ @@ -9216,7 +9243,7 @@ index 0000000..09261a3 + 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 81e21fb..fe84772 100644 ++index 8b220f9..238e6d1 100644 +--- a/Telegram/SourceFiles/window/main_window.cpp ++++ b/Telegram/SourceFiles/window/main_window.cpp +@@ -1,3 +1,4 @@ @@ -9225,7 +9252,7 @@ index 0000000..09261a3 + 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 3f31238..869b7d4 100644 ++index 58dc24f..046bf73 100644 +--- a/Telegram/SourceFiles/window/notifications_manager.cpp ++++ b/Telegram/SourceFiles/window/notifications_manager.cpp +@@ -1,3 +1,4 @@ @@ -9234,7 +9261,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/window/notifications_manager_default.cpp b/Telegram/SourceFiles/window/notifications_manager_default.cpp -+index 44bf481..27bc83d 100644 ++index e5a0a78..ef539ed 100644 +--- a/Telegram/SourceFiles/window/notifications_manager_default.cpp ++++ b/Telegram/SourceFiles/window/notifications_manager_default.cpp +@@ -1,3 +1,4 @@ @@ -9252,7 +9279,7 @@ index 0000000..09261a3 + 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 5a72a69..fedcf00 100644 ++index 95944d2..6df5403 100644 +--- a/Telegram/SourceFiles/window/section_widget.cpp ++++ b/Telegram/SourceFiles/window/section_widget.cpp +@@ -1,3 +1,4 @@ @@ -9439,7 +9466,7 @@ index 0000000..09261a3 + 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 841bffb..5f8c40f 100644 ++index 958cb31..1515cac 100644 +--- a/Telegram/SourceFiles/window/window_peer_menu.cpp ++++ b/Telegram/SourceFiles/window/window_peer_menu.cpp +@@ -1,3 +1,4 @@ @@ -9448,7 +9475,7 @@ index 0000000..09261a3 + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/window/window_separate_id.cpp b/Telegram/SourceFiles/window/window_separate_id.cpp -+index 2b88968..ea34a14 100644 ++index f6ed915..371761c 100644 +--- a/Telegram/SourceFiles/window/window_separate_id.cpp ++++ b/Telegram/SourceFiles/window/window_separate_id.cpp +@@ -1,3 +1,4 @@ @@ -9457,7 +9484,7 @@ index 0000000..09261a3 + 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 4f47426..a14d84e 100644 ++index 736c4c2..d47a81e 100644 +--- a/Telegram/SourceFiles/window/window_session_controller.cpp ++++ b/Telegram/SourceFiles/window/window_session_controller.cpp +@@ -1,3 +1,4 @@ @@ -9709,7 +9736,7 @@ index 0000000..09261a3 + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_base/base/platform/linux/base_battery_saving_linux.cpp b/Telegram/lib_base/base/platform/linux/base_battery_saving_linux.cpp -+index a44a530..f166f79 100644 ++index b9c1e8c..cdd86b0 100644 +--- a/Telegram/lib_base/base/platform/linux/base_battery_saving_linux.cpp ++++ b/Telegram/lib_base/base/platform/linux/base_battery_saving_linux.cpp +@@ -1,3 +1,4 @@ @@ -10385,7 +10412,7 @@ index 0000000..09261a3 + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/delayed_activation.cpp b/Telegram/lib_ui/ui/delayed_activation.cpp -+index fbb3d96..3678906 100644 ++index 963d5ae..c68a10f 100644 +--- a/Telegram/lib_ui/ui/delayed_activation.cpp ++++ b/Telegram/lib_ui/ui/delayed_activation.cpp +@@ -1,3 +1,4 @@ @@ -11333,7 +11360,7 @@ index 0000000..09261a3 + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/widgets/popup_menu.cpp b/Telegram/lib_ui/ui/widgets/popup_menu.cpp -+index 8820b10..5f8ffd3 100644 ++index 4992351..9066d11 100644 +--- a/Telegram/lib_ui/ui/widgets/popup_menu.cpp ++++ b/Telegram/lib_ui/ui/widgets/popup_menu.cpp +@@ -1,3 +1,4 @@ diff --git a/net-im/telegram-desktop/patches/telegram_desktop-5.14.3.patchset b/net-im/telegram-desktop/patches/telegram_desktop-5.15.4.patchset similarity index 97% rename from net-im/telegram-desktop/patches/telegram_desktop-5.14.3.patchset rename to net-im/telegram-desktop/patches/telegram_desktop-5.15.4.patchset index e264332e8..d886ae51b 100644 --- a/net-im/telegram-desktop/patches/telegram_desktop-5.14.3.patchset +++ b/net-im/telegram-desktop/patches/telegram_desktop-5.15.4.patchset @@ -1,32 +1,32 @@ -From f9c66f2aecc37a7ecb6aaff0e700f5f40c0fa1bb Mon Sep 17 00:00:00 2001 +From 277500df532293e8f3e39f16103b19ee62a11a9c Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> -Date: Sat, 24 May 2025 22:12:16 +1000 +Date: Thu, 5 Jun 2025 19:15:51 +1000 Subject: Add haiku support diff --git a/CMakeLists.txt b/CMakeLists.txt -index 36e5405..c8b48e6 100644 +index fc7b239..116fe18 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -19,12 +19,12 @@ elseif (LINUX) - list(APPEND project_langs ASM) - endif() +@@ -12,12 +12,12 @@ include(cmake/validate_special_target.cmake) + include(cmake/version.cmake) + desktop_app_parse_version(Telegram/build/version) -project(Telegram -- LANGUAGES ${project_langs} +- LANGUAGES C CXX - VERSION ${desktop_app_version_cmake} - DESCRIPTION "Official Telegram Desktop messenger" - HOMEPAGE_URL "https://desktop.telegram.org" -) +#project(Telegram -+# LANGUAGES ${project_langs} ++# LANGUAGES C CXX +# VERSION ${desktop_app_version_cmake} +# DESCRIPTION "Official Telegram Desktop messenger" +# HOMEPAGE_URL "https://desktop.telegram.org" +#) - set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT Telegram) - get_filename_component(third_party_loc "Telegram/ThirdParty" REALPATH) + if (APPLE) + enable_language(OBJC OBJCXX) diff --git a/SendToAddon/Makefile b/SendToAddon/Makefile new file mode 100644 index 0000000..5098366 @@ -138,7 +138,7 @@ index 0000000..e5f8b64 + +resource("BEOS:default_shortcut") "S"; diff --git a/Telegram/CMakeLists.txt b/Telegram/CMakeLists.txt -index 1cc9694..6f3cbb6 100644 +index 3184b11..01764b9 100644 --- a/Telegram/CMakeLists.txt +++ b/Telegram/CMakeLists.txt @@ -96,6 +96,15 @@ PRIVATE @@ -157,7 +157,7 @@ index 1cc9694..6f3cbb6 100644 target_precompile_headers(Telegram PRIVATE $<$:${src_loc}/stdafx.h>) nice_target_sources(Telegram ${src_loc} PRIVATE -@@ -1697,6 +1706,16 @@ if (NOT build_winstore) +@@ -1699,6 +1708,16 @@ if (NOT build_winstore) ) endif() @@ -174,15 +174,6 @@ index 1cc9694..6f3cbb6 100644 if (DESKTOP_APP_USE_PACKAGED) remove_target_sources(Telegram ${src_loc} platform/mac/mac_iconv_helper.c -@@ -1864,7 +1883,7 @@ else() - set(bundle_identifier "com.tdesktop.Telegram") - endif() - set(bundle_entitlements "Telegram.entitlements") -- if (LINUX AND DESKTOP_APP_USE_PACKAGED) -+ if (LINUX AND NOT HAIKU AND DESKTOP_APP_USE_PACKAGED) - set(output_name "telegram-desktop") - else() - set(output_name "Telegram") diff --git a/Telegram/SourceFiles/calls/group/calls_group_menu.cpp b/Telegram/SourceFiles/calls/group/calls_group_menu.cpp index b41dac6..cea1794 100644 --- a/Telegram/SourceFiles/calls/group/calls_group_menu.cpp @@ -411,10 +402,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..0d7526d +index 0000000..cc5e0f3 --- /dev/null +++ b/Telegram/SourceFiles/platform/linux/notifications_manager_haiku.cpp -@@ -0,0 +1,273 @@ +@@ -0,0 +1,275 @@ +/* +This file is part of Telegram Desktop for Haiku, + @@ -674,6 +665,8 @@ index 0000000..0d7526d + +void Manager::doClearFromTopic(not_null topic) { } + ++void Manager::doClearFromSublist(not_null sublist) { } ++ +bool Manager::doSkipToast() const { + return false; +} @@ -689,7 +682,7 @@ index 0000000..0d7526d +} // namespace Notifications +} // namespace Platform diff --git a/Telegram/SourceFiles/platform/linux/specific_linux.cpp b/Telegram/SourceFiles/platform/linux/specific_linux.cpp -index dcbefc2..6b53ba0 100644 +index 1710805..86ddacf 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 @@ -1134,7 +1127,7 @@ index 3e15737..ea43678 100644 #include #include diff --git a/Telegram/lib_ui/ui/widgets/popup_menu.cpp b/Telegram/lib_ui/ui/widgets/popup_menu.cpp -index c4dd382..8820b10 100644 +index 981a3ec..4992351 100644 --- a/Telegram/lib_ui/ui/widgets/popup_menu.cpp +++ b/Telegram/lib_ui/ui/widgets/popup_menu.cpp @@ -19,6 +19,10 @@ diff --git a/net-im/telegram-desktop/telegram_desktop-5.14.3.recipe b/net-im/telegram-desktop/telegram_desktop-5.15.4.recipe similarity index 91% rename from net-im/telegram-desktop/telegram_desktop-5.14.3.recipe rename to net-im/telegram-desktop/telegram_desktop-5.15.4.recipe index 38cd40b94..67a0bb1c8 100644 --- a/net-im/telegram-desktop/telegram_desktop-5.14.3.recipe +++ b/net-im/telegram-desktop/telegram_desktop-5.15.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="af15716f053403dc42233775e931a711759c8f0468a0aff5f3dfabdf98bf6861" +CHECKSUM_SHA256="3705dc2ecf51e9290a565b7a06dcdfc5ecbac13ec536afe582f3411653ad50d9" 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" @@ -34,11 +34,13 @@ REQUIRES=" lib:libatomic$secondaryArchSuffix lib:libavcodec$secondaryArchSuffix lib:libavformat$secondaryArchSuffix + lib:libavif$secondaryArchSuffix lib:libavutil$secondaryArchSuffix lib:libboost_filesystem$secondaryArchSuffix lib:libboost_regex$secondaryArchSuffix lib:libboost_system$secondaryArchSuffix lib:libboost_program_options$secondaryArchSuffix + lib:libbrotlienc$secondaryArchSuffix lib:libcrypto$secondaryArchSuffix lib:libfmt$secondaryArchSuffix lib:libgirepository_1.0$secondaryArchSuffix @@ -46,9 +48,12 @@ REQUIRES=" lib:libglib_2.0$secondaryArchSuffix lib:libglibmm_2.68$secondaryArchSuffix lib:libgthread_2.0$secondaryArchSuffix + lib:libheif$secondaryArchSuffix + lib:libhwy$secondaryArchSuffix lib:libhunspell_1.7$secondaryArchSuffix lib:libintl$secondaryArchSuffix lib:libjpeg$secondaryArchSuffix + lib:libjxl$secondaryArchSuffix lib:liblz4$secondaryArchSuffix lib:liblzma$secondaryArchSuffix lib:libminizip$secondaryArchSuffix @@ -68,6 +73,7 @@ REQUIRES=" lib:libswresample$secondaryArchSuffix lib:libswscale$secondaryArchSuffix lib:libvpx$secondaryArchSuffix + lib:libxkbcommon$secondaryArchSuffix lib:libxxhash$secondaryArchSuffix lib:libz$secondaryArchSuffix qt6_imageformats$secondaryArchSuffix @@ -78,19 +84,23 @@ BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel qt6_tools${secondaryArchSuffix}_devel devel:libabsl_strings$secondaryArchSuffix >= 2301.0.0 - devel:libavcodec$secondaryArchSuffix >= 60 + devel:libavif$secondaryArchSuffix devel:libboost_filesystem$secondaryArchSuffix >= 1.83.0 devel:libboost_regex$secondaryArchSuffix >= 1.83.0 devel:libboost_system$secondaryArchSuffix >= 1.83.0 devel:libboost_program_options$secondaryArchSuffix >= 1.83.0 + devel:libbrotlienc$secondaryArchSuffix devel:libcrypto$secondaryArchSuffix >= 3 devel:libfmt$secondaryArchSuffix devel:libgirepository_1.0$secondaryArchSuffix devel:libglib_2.0$secondaryArchSuffix devel:libglibmm_2.68$secondaryArchSuffix devel:libgthread_2.0$secondaryArchSuffix + devel:libheif$secondaryArchSuffix devel:libhunspell_1.7$secondaryArchSuffix + devel:libhwy$secondaryArchSuffix devel:libjpeg$secondaryArchSuffix + devel:libjxl$secondaryArchSuffix devel:liblz4$secondaryArchSuffix devel:liblzma$secondaryArchSuffix devel:libminizip$secondaryArchSuffix @@ -105,14 +115,27 @@ BUILD_REQUIRES=" devel:libQt6Svg$secondaryArchSuffix devel:libQt6Widgets$secondaryArchSuffix devel:librapidjson$secondaryArchSuffix + devel:librav1e$secondaryArchSuffix devel:librnnoise$secondaryArchSuffix devel:libsigc_3.0$secondaryArchSuffix + devel:libsharpyuv$secondaryArchSuffix devel:libtde2e$secondaryArchSuffix devel:libtg_owt$secondaryArchSuffix devel:libvpx$secondaryArchSuffix + devel:libxkbcommon$secondaryArchSuffix devel:libxxhash$secondaryArchSuffix devel:libz$secondaryArchSuffix " +if [ $targetArchitecture == x86_gcc2 ]; then + BUILD_REQUIRES+=" + ffmpeg${secondaryArchSuffix}_devel + " +else + BUILD_REQUIRES+=" + ffmpeg6${secondaryArchSuffix}_devel + " +fi + BUILD_PREREQUIRES=" makefile_engine cmd:cmake @@ -121,7 +144,7 @@ BUILD_PREREQUIRES=" cmd:gcc$secondaryArchSuffix cmd:g_ir_scanner cmd:make - cmd:lld >= 19 + cmd:lld >= 20 cmd:ninja cmd:patch cmd:pkg_config$secondaryArchSuffix