fix: make it build

This commit is contained in:
AlexeyZavar 2024-04-02 01:56:53 +03:00
parent c6b42e2940
commit 6257e990a1
2 changed files with 3 additions and 3 deletions

View file

@ -2750,10 +2750,10 @@ void HistoryItem::setAyuHint(const QString &hint) {
if (!msgsigned) {
AddComponents(HistoryMessageSigned::Bit());
msgsigned = Get<HistoryMessageSigned>();
} else if (msgsigned->postAuthor == hint) {
} else if (msgsigned->author == hint) {
return;
}
msgsigned->postAuthor = hint;
msgsigned->author = hint;
msgsigned->isAnonymousRank = !isDiscussionPost()
&& this->author()->isMegagroup();
} else {

@ -1 +1 @@
Subproject commit db1b039982d7b48d46df54347a3bd10e7dcafbcf
Subproject commit b893172343871ba854220c0ff670df4ae991bb97