Don't allow to directly search for greeting stickers.

This commit is contained in:
levlam 2024-04-12 03:24:11 +03:00
parent c368bd0f38
commit 1c99870d6e

View File

@ -8188,6 +8188,8 @@ void Td::on_request(uint64 id, td_api::searchStickers &request) {
request.emojis_ = "⭐️";
} else if (request.emojis_ == "📂⭐️") {
request.emojis_ = "📂";
} else if (request.emojis_ == "👋⭐️") {
request.emojis_ = "👋";
}
}
stickers_manager_->search_stickers(sticker_type, std::move(request.emojis_), request.limit_, std::move(promise));