From a96f8d8ac3c1f9d50a352c0f8a4830a1b10edf5c Mon Sep 17 00:00:00 2001 From: ZavaruKitsu Date: Sun, 4 Feb 2024 20:43:48 +0300 Subject: [PATCH] chore: update copyright fix: don't display date for big emoji --- Telegram/SourceFiles/ayu/ayu_constants.h | 2 +- Telegram/SourceFiles/ayu/ayu_infra.cpp | 3 ++- Telegram/SourceFiles/ayu/ayu_infra.h | 2 +- Telegram/SourceFiles/ayu/ayu_lang.cpp | 2 +- Telegram/SourceFiles/ayu/ayu_lang.h | 2 +- Telegram/SourceFiles/ayu/ayu_settings.cpp | 2 +- Telegram/SourceFiles/ayu/ayu_settings.h | 2 +- Telegram/SourceFiles/ayu/ayu_state.cpp | 2 +- Telegram/SourceFiles/ayu/ayu_state.h | 2 +- Telegram/SourceFiles/ayu/ayu_url_handlers.cpp | 2 +- Telegram/SourceFiles/ayu/ayu_url_handlers.h | 2 +- Telegram/SourceFiles/ayu/ayu_worker.cpp | 2 +- Telegram/SourceFiles/ayu/ayu_worker.h | 2 +- Telegram/SourceFiles/ayu/data/ayu_database.cpp | 2 +- Telegram/SourceFiles/ayu/data/ayu_database.h | 2 +- Telegram/SourceFiles/ayu/data/entities.h | 2 +- Telegram/SourceFiles/ayu/data/messages_storage.cpp | 2 +- Telegram/SourceFiles/ayu/data/messages_storage.h | 2 +- .../ayu/features/messageshot/message_shot.cpp | 2 +- .../SourceFiles/ayu/features/messageshot/message_shot.h | 2 +- .../ayu/features/streamer_mode/streamer_mode.h | 2 +- .../ayu/features/streamer_mode/streamer_mode_linux.cpp | 2 +- .../ayu/features/streamer_mode/streamer_mode_windows.cpp | 2 +- Telegram/SourceFiles/ayu/libs/json_ext.hpp | 9 +++------ Telegram/SourceFiles/ayu/ui/ayu_icons.style | 2 +- Telegram/SourceFiles/ayu/ui/ayu_logo.cpp | 2 +- Telegram/SourceFiles/ayu/ui/ayu_logo.h | 2 +- Telegram/SourceFiles/ayu/ui/ayu_styles.style | 2 +- Telegram/SourceFiles/ayu/ui/boxes/edit_deleted_mark.cpp | 2 +- Telegram/SourceFiles/ayu/ui/boxes/edit_deleted_mark.h | 2 +- Telegram/SourceFiles/ayu/ui/boxes/edit_edited_mark.cpp | 2 +- Telegram/SourceFiles/ayu/ui/boxes/edit_edited_mark.h | 2 +- Telegram/SourceFiles/ayu/ui/boxes/font_selector.cpp | 4 +++- Telegram/SourceFiles/ayu/ui/boxes/font_selector.h | 2 +- Telegram/SourceFiles/ayu/ui/boxes/message_shot_box.cpp | 2 +- Telegram/SourceFiles/ayu/ui/boxes/message_shot_box.h | 2 +- .../ayu/ui/boxes/server_read_confirmation_box.cpp | 2 +- .../ayu/ui/boxes/server_read_confirmation_box.h | 2 +- Telegram/SourceFiles/ayu/ui/boxes/theme_selector_box.cpp | 2 +- Telegram/SourceFiles/ayu/ui/boxes/theme_selector_box.h | 2 +- Telegram/SourceFiles/ayu/ui/components/image_view.cpp | 2 +- Telegram/SourceFiles/ayu/ui/components/image_view.h | 2 +- .../SourceFiles/ayu/ui/context_menu/context_menu.cpp | 2 +- Telegram/SourceFiles/ayu/ui/context_menu/context_menu.h | 2 +- .../ayu/ui/context_menu/menu_item_subtext.cpp | 2 +- .../SourceFiles/ayu/ui/context_menu/menu_item_subtext.h | 2 +- .../ayu/ui/sections/edited/edited_log_inner.cpp | 2 +- .../ayu/ui/sections/edited/edited_log_inner.h | 2 +- .../ayu/ui/sections/edited/edited_log_item.cpp | 2 +- .../SourceFiles/ayu/ui/sections/edited/edited_log_item.h | 2 +- .../ayu/ui/sections/edited/edited_log_section.cpp | 2 +- .../ayu/ui/sections/edited/edited_log_section.h | 2 +- Telegram/SourceFiles/ayu/ui/settings/icon_picker.cpp | 2 +- Telegram/SourceFiles/ayu/ui/settings/icon_picker.h | 2 +- Telegram/SourceFiles/ayu/ui/settings/settings_ayu.cpp | 2 +- Telegram/SourceFiles/ayu/ui/settings/settings_ayu.h | 2 +- Telegram/SourceFiles/ayu/ui/utils/ayu_profile_values.cpp | 2 +- Telegram/SourceFiles/ayu/ui/utils/ayu_profile_values.h | 2 +- Telegram/SourceFiles/ayu/utils/ayu_mapper.cpp | 2 +- Telegram/SourceFiles/ayu/utils/ayu_mapper.h | 2 +- .../SourceFiles/ayu/utils/qt_key_modifiers_extended.h | 2 +- Telegram/SourceFiles/ayu/utils/telegram_helpers.cpp | 2 +- Telegram/SourceFiles/ayu/utils/telegram_helpers.h | 2 +- Telegram/SourceFiles/ayu/utils/windows_utils.cpp | 2 +- Telegram/SourceFiles/ayu/utils/windows_utils.h | 2 +- Telegram/SourceFiles/data/data_session.cpp | 3 ++- .../history/view/media/history_view_media_unwrapped.cpp | 8 ++++++-- Telegram/lib_ui | 2 +- 68 files changed, 79 insertions(+), 74 deletions(-) diff --git a/Telegram/SourceFiles/ayu/ayu_constants.h b/Telegram/SourceFiles/ayu/ayu_constants.h index 086bf1ad0..3754f0f80 100644 --- a/Telegram/SourceFiles/ayu/ayu_constants.h +++ b/Telegram/SourceFiles/ayu/ayu_constants.h @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #pragma once // https://github.com/AyuGram/AyuGram4AX/blob/rewrite/TMessagesProj/src/main/java/com/radolyn/ayugram/AyuConstants.java diff --git a/Telegram/SourceFiles/ayu/ayu_infra.cpp b/Telegram/SourceFiles/ayu/ayu_infra.cpp index a28e8337f..6da5877ae 100644 --- a/Telegram/SourceFiles/ayu/ayu_infra.cpp +++ b/Telegram/SourceFiles/ayu/ayu_infra.cpp @@ -3,11 +3,12 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #include "ayu_infra.h" #include "ayu_lang.h" #include "ayu_worker.h" +#include "ayu/ayu_fonts.h" #include "ayu/ayu_settings.h" #include "ayu/data/ayu_database.h" #include "lang/lang_instance.h" diff --git a/Telegram/SourceFiles/ayu/ayu_infra.h b/Telegram/SourceFiles/ayu/ayu_infra.h index b05f84fca..78df38a81 100644 --- a/Telegram/SourceFiles/ayu/ayu_infra.h +++ b/Telegram/SourceFiles/ayu/ayu_infra.h @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #pragma once namespace AyuInfra { diff --git a/Telegram/SourceFiles/ayu/ayu_lang.cpp b/Telegram/SourceFiles/ayu/ayu_lang.cpp index bea3f9293..892cf5d00 100644 --- a/Telegram/SourceFiles/ayu/ayu_lang.cpp +++ b/Telegram/SourceFiles/ayu/ayu_lang.cpp @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #include "ayu_lang.h" #include "qjsondocument.h" diff --git a/Telegram/SourceFiles/ayu/ayu_lang.h b/Telegram/SourceFiles/ayu/ayu_lang.h index cfb4cce49..82c58aa7a 100644 --- a/Telegram/SourceFiles/ayu/ayu_lang.h +++ b/Telegram/SourceFiles/ayu/ayu_lang.h @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #pragma once #include diff --git a/Telegram/SourceFiles/ayu/ayu_settings.cpp b/Telegram/SourceFiles/ayu/ayu_settings.cpp index 20be4925f..ff9ccb27e 100644 --- a/Telegram/SourceFiles/ayu/ayu_settings.cpp +++ b/Telegram/SourceFiles/ayu/ayu_settings.cpp @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #include "ayu_settings.h" #include "ayu/ui/ayu_logo.h" diff --git a/Telegram/SourceFiles/ayu/ayu_settings.h b/Telegram/SourceFiles/ayu/ayu_settings.h index 14dd08730..1a4c4d970 100644 --- a/Telegram/SourceFiles/ayu/ayu_settings.h +++ b/Telegram/SourceFiles/ayu/ayu_settings.h @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #pragma once #include "ayu/libs/json.hpp" diff --git a/Telegram/SourceFiles/ayu/ayu_state.cpp b/Telegram/SourceFiles/ayu/ayu_state.cpp index 7d8a2ddce..717cdd979 100644 --- a/Telegram/SourceFiles/ayu/ayu_state.cpp +++ b/Telegram/SourceFiles/ayu/ayu_state.cpp @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #include "ayu_state.h" namespace AyuState { diff --git a/Telegram/SourceFiles/ayu/ayu_state.h b/Telegram/SourceFiles/ayu/ayu_state.h index 66a76ddd3..a941eef31 100644 --- a/Telegram/SourceFiles/ayu/ayu_state.h +++ b/Telegram/SourceFiles/ayu/ayu_state.h @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #pragma once #include "history/history.h" diff --git a/Telegram/SourceFiles/ayu/ayu_url_handlers.cpp b/Telegram/SourceFiles/ayu/ayu_url_handlers.cpp index cd2170ea7..ff0a6cb5c 100644 --- a/Telegram/SourceFiles/ayu/ayu_url_handlers.cpp +++ b/Telegram/SourceFiles/ayu/ayu_url_handlers.cpp @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #include "ayu/ayu_url_handlers.h" #include "base/qthelp_url.h" diff --git a/Telegram/SourceFiles/ayu/ayu_url_handlers.h b/Telegram/SourceFiles/ayu/ayu_url_handlers.h index d3086fdb3..a9f5d1455 100644 --- a/Telegram/SourceFiles/ayu/ayu_url_handlers.h +++ b/Telegram/SourceFiles/ayu/ayu_url_handlers.h @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #pragma once #include "base/qthelp_regex.h" diff --git a/Telegram/SourceFiles/ayu/ayu_worker.cpp b/Telegram/SourceFiles/ayu/ayu_worker.cpp index dad3d128d..9f2b70fdf 100644 --- a/Telegram/SourceFiles/ayu/ayu_worker.cpp +++ b/Telegram/SourceFiles/ayu/ayu_worker.cpp @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #include "ayu_worker.h" #include "apiwrap.h" diff --git a/Telegram/SourceFiles/ayu/ayu_worker.h b/Telegram/SourceFiles/ayu/ayu_worker.h index 97c26c999..1caaae506 100644 --- a/Telegram/SourceFiles/ayu/ayu_worker.h +++ b/Telegram/SourceFiles/ayu/ayu_worker.h @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #pragma once #include "window/window_session_controller.h" diff --git a/Telegram/SourceFiles/ayu/data/ayu_database.cpp b/Telegram/SourceFiles/ayu/data/ayu_database.cpp index 0437c01ed..5ebc4cd45 100644 --- a/Telegram/SourceFiles/ayu/data/ayu_database.cpp +++ b/Telegram/SourceFiles/ayu/data/ayu_database.cpp @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #include "ayu_database.h" #include diff --git a/Telegram/SourceFiles/ayu/data/ayu_database.h b/Telegram/SourceFiles/ayu/data/ayu_database.h index efc5c089d..077f0008e 100644 --- a/Telegram/SourceFiles/ayu/data/ayu_database.h +++ b/Telegram/SourceFiles/ayu/data/ayu_database.h @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #pragma once #include "entities.h" diff --git a/Telegram/SourceFiles/ayu/data/entities.h b/Telegram/SourceFiles/ayu/data/entities.h index 9ecebf358..c32690054 100644 --- a/Telegram/SourceFiles/ayu/data/entities.h +++ b/Telegram/SourceFiles/ayu/data/entities.h @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #pragma once #include diff --git a/Telegram/SourceFiles/ayu/data/messages_storage.cpp b/Telegram/SourceFiles/ayu/data/messages_storage.cpp index 5e60f1929..55b46d1fa 100644 --- a/Telegram/SourceFiles/ayu/data/messages_storage.cpp +++ b/Telegram/SourceFiles/ayu/data/messages_storage.cpp @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #include "messages_storage.h" #include "ayu/ayu_constants.h" diff --git a/Telegram/SourceFiles/ayu/data/messages_storage.h b/Telegram/SourceFiles/ayu/data/messages_storage.h index 614678167..55c1c1625 100644 --- a/Telegram/SourceFiles/ayu/data/messages_storage.h +++ b/Telegram/SourceFiles/ayu/data/messages_storage.h @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #pragma once #include "entities.h" diff --git a/Telegram/SourceFiles/ayu/features/messageshot/message_shot.cpp b/Telegram/SourceFiles/ayu/features/messageshot/message_shot.cpp index 42e8e9806..3e1d579d5 100644 --- a/Telegram/SourceFiles/ayu/features/messageshot/message_shot.cpp +++ b/Telegram/SourceFiles/ayu/features/messageshot/message_shot.cpp @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #include "message_shot.h" #include "styles/style_layers.h" diff --git a/Telegram/SourceFiles/ayu/features/messageshot/message_shot.h b/Telegram/SourceFiles/ayu/features/messageshot/message_shot.h index db5796fcd..18bd2ad02 100644 --- a/Telegram/SourceFiles/ayu/features/messageshot/message_shot.h +++ b/Telegram/SourceFiles/ayu/features/messageshot/message_shot.h @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #pragma once #include "history/view/history_view_list_widget.h" diff --git a/Telegram/SourceFiles/ayu/features/streamer_mode/streamer_mode.h b/Telegram/SourceFiles/ayu/features/streamer_mode/streamer_mode.h index 4f8ed8b5b..53061bd9b 100644 --- a/Telegram/SourceFiles/ayu/features/streamer_mode/streamer_mode.h +++ b/Telegram/SourceFiles/ayu/features/streamer_mode/streamer_mode.h @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #pragma once namespace AyuFeatures::StreamerMode { diff --git a/Telegram/SourceFiles/ayu/features/streamer_mode/streamer_mode_linux.cpp b/Telegram/SourceFiles/ayu/features/streamer_mode/streamer_mode_linux.cpp index aa782820c..118a8b2e4 100644 --- a/Telegram/SourceFiles/ayu/features/streamer_mode/streamer_mode_linux.cpp +++ b/Telegram/SourceFiles/ayu/features/streamer_mode/streamer_mode_linux.cpp @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #ifndef WIN32 diff --git a/Telegram/SourceFiles/ayu/features/streamer_mode/streamer_mode_windows.cpp b/Telegram/SourceFiles/ayu/features/streamer_mode/streamer_mode_windows.cpp index 10cd5baf6..f389797d3 100644 --- a/Telegram/SourceFiles/ayu/features/streamer_mode/streamer_mode_windows.cpp +++ b/Telegram/SourceFiles/ayu/features/streamer_mode/streamer_mode_windows.cpp @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #ifdef WIN32 diff --git a/Telegram/SourceFiles/ayu/libs/json_ext.hpp b/Telegram/SourceFiles/ayu/libs/json_ext.hpp index 6b343fc9a..66e1abc45 100644 --- a/Telegram/SourceFiles/ayu/libs/json_ext.hpp +++ b/Telegram/SourceFiles/ayu/libs/json_ext.hpp @@ -3,19 +3,16 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 - +// Copyright @Radolyn, 2024 #pragma once #include #include "json.hpp" -inline void to_json(nlohmann::json& j, const QString& q) -{ +inline void to_json(nlohmann::json &j, const QString &q) { j = nlohmann::json(q.toStdString()); } -inline void from_json(const nlohmann::json& j, QString& q) -{ +inline void from_json(const nlohmann::json &j, QString &q) { q = QString::fromStdString(j.get()); } diff --git a/Telegram/SourceFiles/ayu/ui/ayu_icons.style b/Telegram/SourceFiles/ayu/ui/ayu_icons.style index 1d82087e1..0416ce22f 100644 --- a/Telegram/SourceFiles/ayu/ui/ayu_icons.style +++ b/Telegram/SourceFiles/ayu/ui/ayu_icons.style @@ -4,7 +4,7 @@ * We do not and cannot prevent the use of our code, * but be respectful and credit the original author. * - * Copyright @Radolyn, 2023 + * Copyright @Radolyn, 2024 */ using "ui/colors.palette"; diff --git a/Telegram/SourceFiles/ayu/ui/ayu_logo.cpp b/Telegram/SourceFiles/ayu/ui/ayu_logo.cpp index 799c91ce3..476100a59 100644 --- a/Telegram/SourceFiles/ayu/ui/ayu_logo.cpp +++ b/Telegram/SourceFiles/ayu/ui/ayu_logo.cpp @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #include "ayu_logo.h" #include "ayu/ayu_settings.h" diff --git a/Telegram/SourceFiles/ayu/ui/ayu_logo.h b/Telegram/SourceFiles/ayu/ui/ayu_logo.h index b9905f894..78c1b1156 100644 --- a/Telegram/SourceFiles/ayu/ui/ayu_logo.h +++ b/Telegram/SourceFiles/ayu/ui/ayu_logo.h @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #pragma once #define ICON(name, value) const auto name##_ICON = QStringLiteral(value) diff --git a/Telegram/SourceFiles/ayu/ui/ayu_styles.style b/Telegram/SourceFiles/ayu/ui/ayu_styles.style index f27046f4b..e55d1df8b 100644 --- a/Telegram/SourceFiles/ayu/ui/ayu_styles.style +++ b/Telegram/SourceFiles/ayu/ui/ayu_styles.style @@ -4,7 +4,7 @@ * We do not and cannot prevent the use of our code, * but be respectful and credit the original author. * - * Copyright @Radolyn, 2023 + * Copyright @Radolyn, 2024 */ using "ui/basic.style"; diff --git a/Telegram/SourceFiles/ayu/ui/boxes/edit_deleted_mark.cpp b/Telegram/SourceFiles/ayu/ui/boxes/edit_deleted_mark.cpp index 701ee7610..7d2a152f5 100644 --- a/Telegram/SourceFiles/ayu/ui/boxes/edit_deleted_mark.cpp +++ b/Telegram/SourceFiles/ayu/ui/boxes/edit_deleted_mark.cpp @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #include "edit_deleted_mark.h" #include "boxes/peer_list_controllers.h" diff --git a/Telegram/SourceFiles/ayu/ui/boxes/edit_deleted_mark.h b/Telegram/SourceFiles/ayu/ui/boxes/edit_deleted_mark.h index f6b723079..93336de64 100644 --- a/Telegram/SourceFiles/ayu/ui/boxes/edit_deleted_mark.h +++ b/Telegram/SourceFiles/ayu/ui/boxes/edit_deleted_mark.h @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #pragma once #include "base/timer.h" diff --git a/Telegram/SourceFiles/ayu/ui/boxes/edit_edited_mark.cpp b/Telegram/SourceFiles/ayu/ui/boxes/edit_edited_mark.cpp index 96932555d..814eaee1a 100644 --- a/Telegram/SourceFiles/ayu/ui/boxes/edit_edited_mark.cpp +++ b/Telegram/SourceFiles/ayu/ui/boxes/edit_edited_mark.cpp @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #include "edit_edited_mark.h" #include "boxes/peer_list_controllers.h" diff --git a/Telegram/SourceFiles/ayu/ui/boxes/edit_edited_mark.h b/Telegram/SourceFiles/ayu/ui/boxes/edit_edited_mark.h index 48b2bbbd1..f62087566 100644 --- a/Telegram/SourceFiles/ayu/ui/boxes/edit_edited_mark.h +++ b/Telegram/SourceFiles/ayu/ui/boxes/edit_edited_mark.h @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #pragma once #include "base/timer.h" diff --git a/Telegram/SourceFiles/ayu/ui/boxes/font_selector.cpp b/Telegram/SourceFiles/ayu/ui/boxes/font_selector.cpp index 404de891c..d0e87188d 100644 --- a/Telegram/SourceFiles/ayu/ui/boxes/font_selector.cpp +++ b/Telegram/SourceFiles/ayu/ui/boxes/font_selector.cpp @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #include "font_selector.h" #include "data/data_peer_values.h" @@ -44,6 +44,8 @@ #include +#include "ayu/ayu_fonts.h" + struct Font { QString FontName; diff --git a/Telegram/SourceFiles/ayu/ui/boxes/font_selector.h b/Telegram/SourceFiles/ayu/ui/boxes/font_selector.h index b890f0457..be4ced1c0 100644 --- a/Telegram/SourceFiles/ayu/ui/boxes/font_selector.h +++ b/Telegram/SourceFiles/ayu/ui/boxes/font_selector.h @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #pragma once #include "boxes/abstract_box.h" diff --git a/Telegram/SourceFiles/ayu/ui/boxes/message_shot_box.cpp b/Telegram/SourceFiles/ayu/ui/boxes/message_shot_box.cpp index 69b3e3098..e25e36c55 100644 --- a/Telegram/SourceFiles/ayu/ui/boxes/message_shot_box.cpp +++ b/Telegram/SourceFiles/ayu/ui/boxes/message_shot_box.cpp @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #include "message_shot_box.h" #include diff --git a/Telegram/SourceFiles/ayu/ui/boxes/message_shot_box.h b/Telegram/SourceFiles/ayu/ui/boxes/message_shot_box.h index 9c25338d1..4396a0ea2 100644 --- a/Telegram/SourceFiles/ayu/ui/boxes/message_shot_box.h +++ b/Telegram/SourceFiles/ayu/ui/boxes/message_shot_box.h @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #pragma once #include "ayu/features/messageshot/message_shot.h" diff --git a/Telegram/SourceFiles/ayu/ui/boxes/server_read_confirmation_box.cpp b/Telegram/SourceFiles/ayu/ui/boxes/server_read_confirmation_box.cpp index 874649bd1..2c5f62f23 100644 --- a/Telegram/SourceFiles/ayu/ui/boxes/server_read_confirmation_box.cpp +++ b/Telegram/SourceFiles/ayu/ui/boxes/server_read_confirmation_box.cpp @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #include "server_read_confirmation_box.h" #include "lang_auto.h" diff --git a/Telegram/SourceFiles/ayu/ui/boxes/server_read_confirmation_box.h b/Telegram/SourceFiles/ayu/ui/boxes/server_read_confirmation_box.h index b9d400f8e..fab641a1f 100644 --- a/Telegram/SourceFiles/ayu/ui/boxes/server_read_confirmation_box.h +++ b/Telegram/SourceFiles/ayu/ui/boxes/server_read_confirmation_box.h @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #pragma once #include "ui/layers/box_content.h" diff --git a/Telegram/SourceFiles/ayu/ui/boxes/theme_selector_box.cpp b/Telegram/SourceFiles/ayu/ui/boxes/theme_selector_box.cpp index b935318ea..c9e6dce32 100644 --- a/Telegram/SourceFiles/ayu/ui/boxes/theme_selector_box.cpp +++ b/Telegram/SourceFiles/ayu/ui/boxes/theme_selector_box.cpp @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #include "theme_selector_box.h" #include "lang_auto.h" diff --git a/Telegram/SourceFiles/ayu/ui/boxes/theme_selector_box.h b/Telegram/SourceFiles/ayu/ui/boxes/theme_selector_box.h index eac31c739..9a779500c 100644 --- a/Telegram/SourceFiles/ayu/ui/boxes/theme_selector_box.h +++ b/Telegram/SourceFiles/ayu/ui/boxes/theme_selector_box.h @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #pragma once #include "ui/layers/box_content.h" diff --git a/Telegram/SourceFiles/ayu/ui/components/image_view.cpp b/Telegram/SourceFiles/ayu/ui/components/image_view.cpp index ce4250ec7..ae5ef88bd 100644 --- a/Telegram/SourceFiles/ayu/ui/components/image_view.cpp +++ b/Telegram/SourceFiles/ayu/ui/components/image_view.cpp @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #include "image_view.h" #include "styles/style_ayu_styles.h" diff --git a/Telegram/SourceFiles/ayu/ui/components/image_view.h b/Telegram/SourceFiles/ayu/ui/components/image_view.h index 46ee47346..4b1de0202 100644 --- a/Telegram/SourceFiles/ayu/ui/components/image_view.h +++ b/Telegram/SourceFiles/ayu/ui/components/image_view.h @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #pragma once #include "ui/rp_widget.h" diff --git a/Telegram/SourceFiles/ayu/ui/context_menu/context_menu.cpp b/Telegram/SourceFiles/ayu/ui/context_menu/context_menu.cpp index df163fa98..16b55f3f3 100644 --- a/Telegram/SourceFiles/ayu/ui/context_menu/context_menu.cpp +++ b/Telegram/SourceFiles/ayu/ui/context_menu/context_menu.cpp @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #include "ayu/ui/context_menu/context_menu.h" #include diff --git a/Telegram/SourceFiles/ayu/ui/context_menu/context_menu.h b/Telegram/SourceFiles/ayu/ui/context_menu/context_menu.h index d1e9d8cd3..ae452a7cf 100644 --- a/Telegram/SourceFiles/ayu/ui/context_menu/context_menu.h +++ b/Telegram/SourceFiles/ayu/ui/context_menu/context_menu.h @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #pragma once #include "data/data_document.h" diff --git a/Telegram/SourceFiles/ayu/ui/context_menu/menu_item_subtext.cpp b/Telegram/SourceFiles/ayu/ui/context_menu/menu_item_subtext.cpp index 5f0580d02..d2cc1bbb1 100644 --- a/Telegram/SourceFiles/ayu/ui/context_menu/menu_item_subtext.cpp +++ b/Telegram/SourceFiles/ayu/ui/context_menu/menu_item_subtext.cpp @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #include #include "ayu/ui/context_menu/menu_item_subtext.h" diff --git a/Telegram/SourceFiles/ayu/ui/context_menu/menu_item_subtext.h b/Telegram/SourceFiles/ayu/ui/context_menu/menu_item_subtext.h index e45a683b6..09e3226bc 100644 --- a/Telegram/SourceFiles/ayu/ui/context_menu/menu_item_subtext.h +++ b/Telegram/SourceFiles/ayu/ui/context_menu/menu_item_subtext.h @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #pragma once #include "ayu/data/entities.h" diff --git a/Telegram/SourceFiles/ayu/ui/sections/edited/edited_log_inner.cpp b/Telegram/SourceFiles/ayu/ui/sections/edited/edited_log_inner.cpp index bdc8a5485..124875fb6 100644 --- a/Telegram/SourceFiles/ayu/ui/sections/edited/edited_log_inner.cpp +++ b/Telegram/SourceFiles/ayu/ui/sections/edited/edited_log_inner.cpp @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #include "ayu/ui/sections/edited/edited_log_inner.h" #include "apiwrap.h" diff --git a/Telegram/SourceFiles/ayu/ui/sections/edited/edited_log_inner.h b/Telegram/SourceFiles/ayu/ui/sections/edited/edited_log_inner.h index 526f1fe19..8c363036f 100644 --- a/Telegram/SourceFiles/ayu/ui/sections/edited/edited_log_inner.h +++ b/Telegram/SourceFiles/ayu/ui/sections/edited/edited_log_inner.h @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #pragma once #include "ayu/ui/sections/edited/edited_log_item.h" diff --git a/Telegram/SourceFiles/ayu/ui/sections/edited/edited_log_item.cpp b/Telegram/SourceFiles/ayu/ui/sections/edited/edited_log_item.cpp index 0477865f3..f6d8a784c 100644 --- a/Telegram/SourceFiles/ayu/ui/sections/edited/edited_log_item.cpp +++ b/Telegram/SourceFiles/ayu/ui/sections/edited/edited_log_item.cpp @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #include "ayu/ui/sections/edited/edited_log_item.h" #include "ayu/data/entities.h" diff --git a/Telegram/SourceFiles/ayu/ui/sections/edited/edited_log_item.h b/Telegram/SourceFiles/ayu/ui/sections/edited/edited_log_item.h index be04dc1e1..9ad2897ba 100644 --- a/Telegram/SourceFiles/ayu/ui/sections/edited/edited_log_item.h +++ b/Telegram/SourceFiles/ayu/ui/sections/edited/edited_log_item.h @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #pragma once #include "ayu/data/entities.h" diff --git a/Telegram/SourceFiles/ayu/ui/sections/edited/edited_log_section.cpp b/Telegram/SourceFiles/ayu/ui/sections/edited/edited_log_section.cpp index 273044248..6c26622aa 100644 --- a/Telegram/SourceFiles/ayu/ui/sections/edited/edited_log_section.cpp +++ b/Telegram/SourceFiles/ayu/ui/sections/edited/edited_log_section.cpp @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #include "ayu/ui/sections/edited/edited_log_section.h" #include "apiwrap.h" diff --git a/Telegram/SourceFiles/ayu/ui/sections/edited/edited_log_section.h b/Telegram/SourceFiles/ayu/ui/sections/edited/edited_log_section.h index 8d4c4bb9d..d4d83e359 100644 --- a/Telegram/SourceFiles/ayu/ui/sections/edited/edited_log_section.h +++ b/Telegram/SourceFiles/ayu/ui/sections/edited/edited_log_section.h @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #pragma once #include "window/section_widget.h" diff --git a/Telegram/SourceFiles/ayu/ui/settings/icon_picker.cpp b/Telegram/SourceFiles/ayu/ui/settings/icon_picker.cpp index 45eaf244c..b0cdd7a0e 100644 --- a/Telegram/SourceFiles/ayu/ui/settings/icon_picker.cpp +++ b/Telegram/SourceFiles/ayu/ui/settings/icon_picker.cpp @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #include "icon_picker.h" #include "tray.h" #include "ayu/ayu_settings.h" diff --git a/Telegram/SourceFiles/ayu/ui/settings/icon_picker.h b/Telegram/SourceFiles/ayu/ui/settings/icon_picker.h index 46800a839..25fbef5ea 100644 --- a/Telegram/SourceFiles/ayu/ui/settings/icon_picker.h +++ b/Telegram/SourceFiles/ayu/ui/settings/icon_picker.h @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #pragma once #include "ui/rp_widget.h" diff --git a/Telegram/SourceFiles/ayu/ui/settings/settings_ayu.cpp b/Telegram/SourceFiles/ayu/ui/settings/settings_ayu.cpp index b14f14ca2..4a09c20aa 100644 --- a/Telegram/SourceFiles/ayu/ui/settings/settings_ayu.cpp +++ b/Telegram/SourceFiles/ayu/ui/settings/settings_ayu.cpp @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #include "settings_ayu.h" #include "ayu/ayu_settings.h" #include "ayu/ui/boxes/edit_deleted_mark.h" diff --git a/Telegram/SourceFiles/ayu/ui/settings/settings_ayu.h b/Telegram/SourceFiles/ayu/ui/settings/settings_ayu.h index e5ffc0cd2..059e9f41a 100644 --- a/Telegram/SourceFiles/ayu/ui/settings/settings_ayu.h +++ b/Telegram/SourceFiles/ayu/ui/settings/settings_ayu.h @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #pragma once #include "settings/settings_common.h" diff --git a/Telegram/SourceFiles/ayu/ui/utils/ayu_profile_values.cpp b/Telegram/SourceFiles/ayu/ui/utils/ayu_profile_values.cpp index bd7a0e348..e38de4ab7 100644 --- a/Telegram/SourceFiles/ayu/ui/utils/ayu_profile_values.cpp +++ b/Telegram/SourceFiles/ayu/ui/utils/ayu_profile_values.cpp @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #include "ayu_profile_values.h" #include "ayu/ayu_settings.h" #include "ayu/utils/telegram_helpers.h" diff --git a/Telegram/SourceFiles/ayu/ui/utils/ayu_profile_values.h b/Telegram/SourceFiles/ayu/ui/utils/ayu_profile_values.h index 1a496a903..b30a329dd 100644 --- a/Telegram/SourceFiles/ayu/ui/utils/ayu_profile_values.h +++ b/Telegram/SourceFiles/ayu/ui/utils/ayu_profile_values.h @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #pragma once QString IDString(not_null peer); diff --git a/Telegram/SourceFiles/ayu/utils/ayu_mapper.cpp b/Telegram/SourceFiles/ayu/utils/ayu_mapper.cpp index 8fe26c6ea..b1bc2e2ea 100644 --- a/Telegram/SourceFiles/ayu/utils/ayu_mapper.cpp +++ b/Telegram/SourceFiles/ayu/utils/ayu_mapper.cpp @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #include "ayu_mapper.h" #include "history/history.h" diff --git a/Telegram/SourceFiles/ayu/utils/ayu_mapper.h b/Telegram/SourceFiles/ayu/utils/ayu_mapper.h index ad56efa5a..6c51ab164 100644 --- a/Telegram/SourceFiles/ayu/utils/ayu_mapper.h +++ b/Telegram/SourceFiles/ayu/utils/ayu_mapper.h @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #pragma once namespace AyuMapper { diff --git a/Telegram/SourceFiles/ayu/utils/qt_key_modifiers_extended.h b/Telegram/SourceFiles/ayu/utils/qt_key_modifiers_extended.h index 4229e28e2..758a04691 100644 --- a/Telegram/SourceFiles/ayu/utils/qt_key_modifiers_extended.h +++ b/Telegram/SourceFiles/ayu/utils/qt_key_modifiers_extended.h @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #pragma once #include "base/qt/qt_key_modifiers.h" diff --git a/Telegram/SourceFiles/ayu/utils/telegram_helpers.cpp b/Telegram/SourceFiles/ayu/utils/telegram_helpers.cpp index c9e894e9a..ff11b110e 100644 --- a/Telegram/SourceFiles/ayu/utils/telegram_helpers.cpp +++ b/Telegram/SourceFiles/ayu/utils/telegram_helpers.cpp @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #include "telegram_helpers.h" #include #include diff --git a/Telegram/SourceFiles/ayu/utils/telegram_helpers.h b/Telegram/SourceFiles/ayu/utils/telegram_helpers.h index c9586b573..90a5d768e 100644 --- a/Telegram/SourceFiles/ayu/utils/telegram_helpers.h +++ b/Telegram/SourceFiles/ayu/utils/telegram_helpers.h @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #pragma once #include "ayu/data/entities.h" diff --git a/Telegram/SourceFiles/ayu/utils/windows_utils.cpp b/Telegram/SourceFiles/ayu/utils/windows_utils.cpp index 7004909da..7e7f68a35 100644 --- a/Telegram/SourceFiles/ayu/utils/windows_utils.cpp +++ b/Telegram/SourceFiles/ayu/utils/windows_utils.cpp @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #ifdef Q_OS_WIN #include "windows_utils.h" diff --git a/Telegram/SourceFiles/ayu/utils/windows_utils.h b/Telegram/SourceFiles/ayu/utils/windows_utils.h index 0d4a823c7..0954d9271 100644 --- a/Telegram/SourceFiles/ayu/utils/windows_utils.h +++ b/Telegram/SourceFiles/ayu/utils/windows_utils.h @@ -3,7 +3,7 @@ // We do not and cannot prevent the use of our code, // but be respectful and credit the original author. // -// Copyright @Radolyn, 2023 +// Copyright @Radolyn, 2024 #pragma once void reloadAppIconFromTaskBar(); diff --git a/Telegram/SourceFiles/data/data_session.cpp b/Telegram/SourceFiles/data/data_session.cpp index 08a3800e5..cfe32b0cb 100644 --- a/Telegram/SourceFiles/data/data_session.cpp +++ b/Telegram/SourceFiles/data/data_session.cpp @@ -2309,11 +2309,12 @@ void Session::updateEditedMessage(const MTPMessage &data) { // AyuGram saveMessagesHistory const auto settings = &AyuSettings::getInstance(); + HistoryMessageEdition edit; if (data.type() != mtpc_message) { goto proceed; } - HistoryMessageEdition edit = HistoryMessageEdition(_session, data.c_message()); + edit = HistoryMessageEdition(_session, data.c_message()); if (settings->saveMessagesHistory && !existing->isLocal() && !existing->author()->isSelf() && !edit.isEditHide) { const auto msg = existing->originalText(); diff --git a/Telegram/SourceFiles/history/view/media/history_view_media_unwrapped.cpp b/Telegram/SourceFiles/history/view/media/history_view_media_unwrapped.cpp index b0dba7ecb..9a40c9707 100644 --- a/Telegram/SourceFiles/history/view/media/history_view_media_unwrapped.cpp +++ b/Telegram/SourceFiles/history/view/media/history_view_media_unwrapped.cpp @@ -22,6 +22,10 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include "ui/painter.h" #include "styles/style_chat.h" +// AyuGram includes +#include "ayu/features/messageshot/message_shot.h" + + namespace HistoryView { namespace { @@ -250,7 +254,7 @@ void UnwrappedMedia::drawSurrounding( const auto rightActionSize = _parent->rightActionSize(); const auto fullRight = calculateFullRight(inner); auto fullBottom = height(); - if (needInfoDisplay()) { + if (needInfoDisplay() && !AyuFeatures::MessageShot::ignoreRender(AyuFeatures::MessageShot::RenderPart::Date)) { _parent->drawInfo( p, context, @@ -342,7 +346,7 @@ void UnwrappedMedia::drawSurrounding( replyRight = rectx + rectw; } } - if (rightActionSize) { + if (rightActionSize && !AyuFeatures::MessageShot::isTakingShot()) { const auto position = calculateFastActionPosition( inner, rightAligned, diff --git a/Telegram/lib_ui b/Telegram/lib_ui index a7dfd3834..48565bd56 160000 --- a/Telegram/lib_ui +++ b/Telegram/lib_ui @@ -1 +1 @@ -Subproject commit a7dfd383490e9e3a3a83b2b920d34f6409d37eee +Subproject commit 48565bd5633aa448d6fef600c50eed950ec91e10