Fixed stuck of history-down button after sending message.
This commit is contained in:
parent
9cd194e60e
commit
acb092f9f2
|
@ -3770,6 +3770,10 @@ void HistoryWidget::send(Api::SendOptions options) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!options.scheduled) {
|
||||||
|
clearReplyReturns();
|
||||||
|
}
|
||||||
|
|
||||||
const auto webPageId = (_previewState != Data::PreviewState::Allowed)
|
const auto webPageId = (_previewState != Data::PreviewState::Allowed)
|
||||||
? CancelledWebPageId
|
? CancelledWebPageId
|
||||||
: ((_previewData && _previewData->pendingTill >= 0)
|
: ((_previewData && _previewData->pendingTill >= 0)
|
||||||
|
|
Loading…
Reference in New Issue