mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
fix: make it compile
This commit is contained in:
parent
53e4b685b4
commit
0ed22b67ab
4 changed files with 9 additions and 9 deletions
|
@ -627,7 +627,7 @@ not_null<Ui::PathShiftGradient *> InnerWidget::elementPathShiftGradient()
|
|||
return _pathGradient.get();
|
||||
}
|
||||
|
||||
void InnerWidget::elementReplyTo(const FullMsgId &to)
|
||||
void InnerWidget::elementReplyTo(const FullReplyTo &to)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -127,7 +127,7 @@ public:
|
|||
void elementHandleViaClick(not_null<UserData *> bot) override;
|
||||
bool elementIsChatWide() override;
|
||||
not_null<Ui::PathShiftGradient *> elementPathShiftGradient() override;
|
||||
void elementReplyTo(const FullMsgId &to) override;
|
||||
void elementReplyTo(const FullReplyTo &to) override;
|
||||
void elementStartInteraction(
|
||||
not_null<const HistoryView::Element *> view) override;
|
||||
void elementStartPremium(
|
||||
|
|
|
@ -511,11 +511,11 @@ void History::destroyMessage(not_null<HistoryItem*> item) {
|
|||
flags |= MessageFlag::Post;
|
||||
}
|
||||
|
||||
FullReplyTo replyTo = {
|
||||
.msgId = item->id,
|
||||
.topicRootId = item->topicRootId(),
|
||||
.storyId = {}
|
||||
};
|
||||
FullReplyTo replyTo = {
|
||||
.messageId = item->fullId(),
|
||||
.storyId = {},
|
||||
.topicRootId = item->topicRootId(),
|
||||
};
|
||||
|
||||
addNewLocalMessage(
|
||||
session().data().nextLocalMessageId(),
|
||||
|
|
|
@ -2595,10 +2595,10 @@ void HistoryItem::setAyuHint(const QString &hint) {
|
|||
if (!msgsigned) {
|
||||
AddComponents(HistoryMessageSigned::Bit());
|
||||
msgsigned = Get<HistoryMessageSigned>();
|
||||
} else if (msgsigned->author == hint) {
|
||||
} else if (msgsigned->postAuthor == hint) {
|
||||
return;
|
||||
}
|
||||
msgsigned->author = hint;
|
||||
msgsigned->postAuthor = hint;
|
||||
msgsigned->isAnonymousRank = !isDiscussionPost()
|
||||
&& this->author()->isMegagroup();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue