mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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();
|
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;
|
void elementHandleViaClick(not_null<UserData *> bot) override;
|
||||||
bool elementIsChatWide() override;
|
bool elementIsChatWide() override;
|
||||||
not_null<Ui::PathShiftGradient *> elementPathShiftGradient() override;
|
not_null<Ui::PathShiftGradient *> elementPathShiftGradient() override;
|
||||||
void elementReplyTo(const FullMsgId &to) override;
|
void elementReplyTo(const FullReplyTo &to) override;
|
||||||
void elementStartInteraction(
|
void elementStartInteraction(
|
||||||
not_null<const HistoryView::Element *> view) override;
|
not_null<const HistoryView::Element *> view) override;
|
||||||
void elementStartPremium(
|
void elementStartPremium(
|
||||||
|
|
|
@ -511,11 +511,11 @@ void History::destroyMessage(not_null<HistoryItem*> item) {
|
||||||
flags |= MessageFlag::Post;
|
flags |= MessageFlag::Post;
|
||||||
}
|
}
|
||||||
|
|
||||||
FullReplyTo replyTo = {
|
FullReplyTo replyTo = {
|
||||||
.msgId = item->id,
|
.messageId = item->fullId(),
|
||||||
.topicRootId = item->topicRootId(),
|
.storyId = {},
|
||||||
.storyId = {}
|
.topicRootId = item->topicRootId(),
|
||||||
};
|
};
|
||||||
|
|
||||||
addNewLocalMessage(
|
addNewLocalMessage(
|
||||||
session().data().nextLocalMessageId(),
|
session().data().nextLocalMessageId(),
|
||||||
|
|
|
@ -2595,10 +2595,10 @@ void HistoryItem::setAyuHint(const QString &hint) {
|
||||||
if (!msgsigned) {
|
if (!msgsigned) {
|
||||||
AddComponents(HistoryMessageSigned::Bit());
|
AddComponents(HistoryMessageSigned::Bit());
|
||||||
msgsigned = Get<HistoryMessageSigned>();
|
msgsigned = Get<HistoryMessageSigned>();
|
||||||
} else if (msgsigned->author == hint) {
|
} else if (msgsigned->postAuthor == hint) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
msgsigned->author = hint;
|
msgsigned->postAuthor = hint;
|
||||||
msgsigned->isAnonymousRank = !isDiscussionPost()
|
msgsigned->isAnonymousRank = !isDiscussionPost()
|
||||||
&& this->author()->isMegagroup();
|
&& this->author()->isMegagroup();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue