mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 07:33:52 +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()) {
|
if (!reply->acquireResolve()) {
|
||||||
return;
|
return;
|
||||||
} else if (const auto messageId = reply->messageId()) {
|
} else if (const auto messageId = reply->messageId()) {
|
||||||
|
if (Data::IsScheduledMsgId(messageId)) {
|
||||||
|
reply->updateData(this);
|
||||||
|
if (!reply->acquireResolve()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
RequestDependentMessageItem(
|
RequestDependentMessageItem(
|
||||||
this,
|
this,
|
||||||
reply->externalPeerId(),
|
reply->externalPeerId(),
|
||||||
reply->messageId());
|
messageId);
|
||||||
} else if (reply->storyId()) {
|
} else if (reply->storyId()) {
|
||||||
RequestDependentMessageStory(
|
RequestDependentMessageStory(
|
||||||
this,
|
this,
|
||||||
|
|
Loading…
Add table
Reference in a new issue