Bugfix
This commit is contained in:
parent
9c67d7a6b7
commit
4a8d8a3ffb
@ -402,13 +402,13 @@ Variant<PhotoSize, string> get_photo_size(FileManager *file_manager, PhotoSizeSo
|
||||
LOG(ERROR) << "Receive unexpected JPEG minithumbnail in photo of format " << format;
|
||||
}
|
||||
if (G()->shared_config().get_option_boolean("disable_minithumbnails")) {
|
||||
return "";
|
||||
return std::string("");
|
||||
} else {
|
||||
return std::move(res);
|
||||
}
|
||||
}
|
||||
if (G()->shared_config().get_option_boolean("disable_minithumbnails")) {
|
||||
return "";
|
||||
return std::string("");
|
||||
} else {
|
||||
return size->bytes_.as_slice().str();
|
||||
}
|
||||
|
@ -9,6 +9,7 @@
|
||||
#include "td/telegram/secret_api.h"
|
||||
#include "td/telegram/td_api.h"
|
||||
#include "td/telegram/telegram_api.h"
|
||||
#include "td/telegram/ConfigShared.h"
|
||||
|
||||
#include "td/telegram/files/FileManager.h"
|
||||
#include "td/telegram/Td.h"
|
||||
|
Loading…
Reference in New Issue
Block a user