Minor fixes.

This commit is contained in:
levlam 2022-08-12 18:39:36 +03:00
parent 86294f246e
commit 9a469eef31
3 changed files with 4 additions and 3 deletions

View File

@ -15,6 +15,6 @@ If you already have installed Android SDK and NDK, you can skip the second step
If you want to update TDLib to a newer version, you need to run only the script `./build-tdlib.sh`.
You can specify different OpenSSL version as the third parameter to the script `./build-openssl.sh`. By default OpenSSL 1.1.1 is used because of much smaller binary footprint then newer OpenSSL versions.
You can specify different OpenSSL version as the third parameter to the script `./build-openssl.sh`. By default OpenSSL 1.1.1 is used because of much smaller binary footprint than newer OpenSSL versions.
You can build TDLib against shared standard C++ library by specifying "c++_shared" as the third parameter to the script `./build-tdlib.sh`. This can reduce total app size if you have a lot of other C++ code and want it to use the same shared library.

View File

@ -188,7 +188,7 @@ class FileReferenceManager final : public Actor {
FileSourceId get_current_file_source_id() const;
void tear_down() override;
void tear_down() final;
};
} // namespace td

View File

@ -22,6 +22,7 @@
#include "td/telegram/Global.h"
#include "td/telegram/LanguagePackManager.h"
#include "td/telegram/logevent/LogEvent.h"
#include "td/telegram/logevent/LogEventHelper.h"
#include "td/telegram/MessagesManager.h"
#include "td/telegram/misc.h"
#include "td/telegram/net/DcId.h"
@ -3929,7 +3930,7 @@ vector<FileId> StickersManager::get_stickers(StickerType sticker_type, string em
vector<StickerSetId> examined_sticker_set_ids = installed_sticker_set_ids_[type];
if (!emoji.empty() && sticker_type == StickerType::CustomEmoji) {
td::append(examined_sticker_set_ids, featured_sticker_set_ids_[type]);
append(examined_sticker_set_ids, featured_sticker_set_ids_[type]);
}
vector<StickerSetId> sets_to_load;