mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 06:55:58 +00:00
Register streaming loaders in Storage::Downloader.
This commit is contained in:
@@ -140,7 +140,8 @@ const QString &Uploader::File::filename() const {
|
||||
return file ? file->filename : media.filename;
|
||||
}
|
||||
|
||||
Uploader::Uploader() {
|
||||
Uploader::Uploader(not_null<ApiWrap*> api)
|
||||
: _api(api) {
|
||||
nextTimer.setSingleShot(true);
|
||||
connect(&nextTimer, SIGNAL(timeout()), this, SLOT(sendNext()));
|
||||
stopSessionsTimer.setSingleShot(true);
|
||||
|
Reference in New Issue
Block a user