2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-10-29 15:19:53 +00:00

Divide data/data_peer and remove from PCH.

This commit is contained in:
John Preston
2019-01-04 15:09:48 +04:00
parent 0ce4d66601
commit c5a41e1f55
143 changed files with 2291 additions and 1899 deletions

View File

@@ -9,6 +9,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "storage/file_download.h"
#include "data/data_session.h"
#include "data/data_file_origin.h"
#include "storage/cache/storage_cache_database.h"
#include "history/history_item.h"
#include "history/history.h"
@@ -318,7 +319,7 @@ void RemoteSource::loadLocal() {
return;
}
_loader = createLoader(std::nullopt, LoadFromLocalOnly, true);
_loader = createLoader(Data::FileOrigin(), LoadFromLocalOnly, true);
if (_loader) _loader->start();
}