mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 23:27:09 +02:00
Fix crash in scheduled messages 'Send Now'.
This commit is contained in:
parent
90b955534a
commit
c1ab1acd44
1 changed files with 1 additions and 1 deletions
|
@ -750,7 +750,7 @@ bool HistoryMessage::allowsForward() const {
|
|||
}
|
||||
|
||||
bool HistoryMessage::allowsSendNow() const {
|
||||
return isScheduled();
|
||||
return isScheduled() && !isSending() && !hasFailed();
|
||||
}
|
||||
|
||||
bool HistoryMessage::isTooOldForEdit(TimeId now) const {
|
||||
|
|
Loading…
Add table
Reference in a new issue