mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 14:17:45 +00:00
Fix crash in scheduled messages 'Send Now'.
This commit is contained in:
@@ -750,7 +750,7 @@ bool HistoryMessage::allowsForward() const {
|
||||
}
|
||||
|
||||
bool HistoryMessage::allowsSendNow() const {
|
||||
return isScheduled();
|
||||
return isScheduled() && !isSending() && !hasFailed();
|
||||
}
|
||||
|
||||
bool HistoryMessage::isTooOldForEdit(TimeId now) const {
|
||||
|
Reference in New Issue
Block a user