diff options
Diffstat (limited to 'td/telegram/MessageInputReplyTo.h')
| -rw-r--r-- | td/telegram/MessageInputReplyTo.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/td/telegram/MessageInputReplyTo.h b/td/telegram/MessageInputReplyTo.h index 531410845..b0f89d058 100644 --- a/td/telegram/MessageInputReplyTo.h +++ b/td/telegram/MessageInputReplyTo.h @@ -70,7 +70,8 @@ class MessageInputReplyTo { MessageInputReplyTo(Td *td, telegram_api::object_ptr<telegram_api::InputReplyTo> &&input_reply_to); bool is_empty() const { - return !message_id_.is_valid() && !message_id_.is_valid_scheduled() && !story_full_id_.is_valid(); + return !message_id_.is_valid() && !message_id_.is_valid_scheduled() && !ephemeral_message_id_.is_valid() && + !story_full_id_.is_valid(); } bool is_valid() const { |
