mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-14 21:27:07 +02:00
chore: update copyright
fix: don't display date for big emoji
This commit is contained in:
parent
d4a22a5110
commit
a96f8d8ac3
68 changed files with 79 additions and 74 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 <QtNetwork/QNetworkReply>
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 <ranges>
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 <string>
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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 <QString>
|
||||
#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<std::string>());
|
||||
}
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 <ayu/ayu_settings.h>
|
||||
|
||||
#include "ayu/ayu_fonts.h"
|
||||
|
||||
struct Font
|
||||
{
|
||||
QString FontName;
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 <QFileDialog>
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 <styles/style_menu_icons.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"
|
||||
|
|
|
@ -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 <utility>
|
||||
|
||||
#include "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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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<PeerData*> peer);
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 <functional>
|
||||
#include <QTimer>
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit a7dfd383490e9e3a3a83b2b920d34f6409d37eee
|
||||
Subproject commit 48565bd5633aa448d6fef600c50eed950ec91e10
|
Loading…
Add table
Reference in a new issue