mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fixed stuck of history-down button after sending message.
This commit is contained in:
parent
9cd194e60e
commit
acb092f9f2
1 changed files with 4 additions and 0 deletions
|
@ -3770,6 +3770,10 @@ void HistoryWidget::send(Api::SendOptions options) {
|
|||
return;
|
||||
}
|
||||
|
||||
if (!options.scheduled) {
|
||||
clearReplyReturns();
|
||||
}
|
||||
|
||||
const auto webPageId = (_previewState != Data::PreviewState::Allowed)
|
||||
? CancelledWebPageId
|
||||
: ((_previewData && _previewData->pendingTill >= 0)
|
||||
|
|
Loading…
Add table
Reference in a new issue