diff --git a/td/telegram/MessagesManager.cpp b/td/telegram/MessagesManager.cpp index 01416be9..740d8976 100644 --- a/td/telegram/MessagesManager.cpp +++ b/td/telegram/MessagesManager.cpp @@ -29366,7 +29366,7 @@ void MessagesManager::speculatively_update_channel_participants(DialogId dialog_ void MessagesManager::update_sent_message_contents(DialogId dialog_id, const Message *m) { CHECK(m != nullptr); if (td_->auth_manager_->is_bot() || (!m->is_outgoing && dialog_id != get_my_dialog_id()) || - dialog_id.get_type() == DialogType::SecretChat || !m->message_id.is_local() || m->forward_info != nullptr || + dialog_id.get_type() == DialogType::SecretChat || m->message_id.is_local() || m->forward_info != nullptr || m->had_forward_info) { return; } diff --git a/tdactor/td/actor/PromiseFuture.h b/tdactor/td/actor/PromiseFuture.h index bd3f4b80..b5dda83a 100644 --- a/tdactor/td/actor/PromiseFuture.h +++ b/tdactor/td/actor/PromiseFuture.h @@ -408,6 +408,7 @@ class PromiseActor final : public PromiseInterface { template class FutureActor final : public Actor { friend class PromiseActor; + public: enum State { Waiting, Ready };