From 6257e990a13035cc4c46faf233ed6b19f8cd166c Mon Sep 17 00:00:00 2001 From: AlexeyZavar Date: Tue, 2 Apr 2024 01:56:53 +0300 Subject: [PATCH] fix: make it build --- Telegram/SourceFiles/history/history_item.cpp | 4 ++-- Telegram/lib_ui | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Telegram/SourceFiles/history/history_item.cpp b/Telegram/SourceFiles/history/history_item.cpp index d9dfbdc24..7d5c966eb 100644 --- a/Telegram/SourceFiles/history/history_item.cpp +++ b/Telegram/SourceFiles/history/history_item.cpp @@ -2750,10 +2750,10 @@ void HistoryItem::setAyuHint(const QString &hint) { if (!msgsigned) { AddComponents(HistoryMessageSigned::Bit()); msgsigned = Get(); - } else if (msgsigned->postAuthor == hint) { + } else if (msgsigned->author == hint) { return; } - msgsigned->postAuthor = hint; + msgsigned->author = hint; msgsigned->isAnonymousRank = !isDiscussionPost() && this->author()->isMegagroup(); } else { diff --git a/Telegram/lib_ui b/Telegram/lib_ui index db1b03998..b89317234 160000 --- a/Telegram/lib_ui +++ b/Telegram/lib_ui @@ -1 +1 @@ -Subproject commit db1b039982d7b48d46df54347a3bd10e7dcafbcf +Subproject commit b893172343871ba854220c0ff670df4ae991bb97