Reload full channel after failed leave attempt to repair member counters.
This commit is contained in:
parent
489b4ad489
commit
59f8072460
@ -718,6 +718,7 @@ class LeaveChannelQuery final : public Td::ResultHandler {
|
|||||||
return td_->chat_manager_->reload_channel(channel_id_, std::move(promise_), "LeaveChannelQuery");
|
return td_->chat_manager_->reload_channel(channel_id_, std::move(promise_), "LeaveChannelQuery");
|
||||||
}
|
}
|
||||||
td_->chat_manager_->on_get_channel_error(channel_id_, status, "LeaveChannelQuery");
|
td_->chat_manager_->on_get_channel_error(channel_id_, status, "LeaveChannelQuery");
|
||||||
|
td_->chat_manager_->reload_channel_full(channel_id_, Promise<Unit>(), "LeaveChannelQuery");
|
||||||
promise_.set_error(std::move(status));
|
promise_.set_error(std::move(status));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user