Fix MessagesManager::update_sent_message_contents.
GitOrigin-RevId: 5265e6d357109065790d6b6e85ddee09d25b025d
This commit is contained in:
parent
00a70b466d
commit
b3594169b5
@ -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;
|
||||
}
|
||||
|
@ -408,6 +408,7 @@ class PromiseActor final : public PromiseInterface<T> {
|
||||
template <class T>
|
||||
class FutureActor final : public Actor {
|
||||
friend class PromiseActor<T>;
|
||||
|
||||
public:
|
||||
enum State { Waiting, Ready };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user