mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Allow to send scheduled messages instantly.
This commit is contained in:
@@ -742,6 +742,10 @@ bool HistoryMessage::allowsForward() const {
|
||||
return !_media || _media->allowsForward();
|
||||
}
|
||||
|
||||
bool HistoryMessage::allowsSendNow() const {
|
||||
return isScheduled();
|
||||
}
|
||||
|
||||
bool HistoryMessage::isTooOldForEdit(TimeId now) const {
|
||||
const auto peer = _history->peer;
|
||||
if (peer->isSelf()) {
|
||||
|
Reference in New Issue
Block a user