diff options
| author | levlam <levlam@telegram.org> | 2023-10-25 13:07:25 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2023-10-25 13:07:25 +0300 |
| commit | 27b9ad4526a2d4f7cf027e3b49ab5cff20bd37b5 (patch) | |
| tree | b818cd86c26e20082168ea73a2bc22f5c755ea35 /td/telegram/MessageInputReplyTo.h | |
| parent | 5216ea1d014ad237a4e2e16e14eda97533878c70 (diff) | |
Store MessageInputReplyTo in Message.
Diffstat (limited to 'td/telegram/MessageInputReplyTo.h')
| -rw-r--r-- | td/telegram/MessageInputReplyTo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/td/telegram/MessageInputReplyTo.h b/td/telegram/MessageInputReplyTo.h index 5302b7b5d..e9d8f49ff 100644 --- a/td/telegram/MessageInputReplyTo.h +++ b/td/telegram/MessageInputReplyTo.h @@ -38,7 +38,7 @@ struct MessageInputReplyTo { MessageInputReplyTo(Td *td, telegram_api::object_ptr<telegram_api::InputReplyTo> &&input_reply_to); bool is_empty() const { - return !message_id_.is_valid() && !story_full_id_.is_valid(); + return !message_id_.is_valid() && !message_id_.is_valid_scheduled() && !story_full_id_.is_valid(); } bool is_valid() const { |
