mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-05 00:55:12 +00:00
Make all owned MTPD types immutable.
Remove custom refcounting in mtpData, use std::shared_ptr instead.
This commit is contained in:
@@ -262,7 +262,7 @@ DcId Instance::Private::mainDcId() const {
|
||||
}
|
||||
|
||||
void Instance::Private::configLoadRequest() {
|
||||
if (_configLoader) {
|
||||
if (_configLoader || true) {
|
||||
return;
|
||||
}
|
||||
_configLoader = std::make_unique<internal::ConfigLoader>(_instance, rpcDone([this](const MTPConfig &result) {
|
||||
|
Reference in New Issue
Block a user