mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-06 23:24:01 +02:00
Fix scheduled replies loading.
This commit is contained in:
parent
17181cee8f
commit
d12e8023e3
1 changed files with 7 additions and 1 deletions
|
@ -952,10 +952,16 @@ void HistoryItem::resolveDependent(not_null<HistoryMessageReply*> reply) {
|
|||
if (!reply->acquireResolve()) {
|
||||
return;
|
||||
} else if (const auto messageId = reply->messageId()) {
|
||||
if (Data::IsScheduledMsgId(messageId)) {
|
||||
reply->updateData(this);
|
||||
if (!reply->acquireResolve()) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
RequestDependentMessageItem(
|
||||
this,
|
||||
reply->externalPeerId(),
|
||||
reply->messageId());
|
||||
messageId);
|
||||
} else if (reply->storyId()) {
|
||||
RequestDependentMessageStory(
|
||||
this,
|
||||
|
|
Loading…
Add table
Reference in a new issue