mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 06:07:45 +00:00
Fix crash in scheduled messages 'Send Now'.
This commit is contained in:
parent
90b955534a
commit
c1ab1acd44
@ -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…
x
Reference in New Issue
Block a user