mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Start passport support: handle link, receive form.
This commit is contained in:
@@ -2397,12 +2397,6 @@ std::vector<not_null<DocumentData*>> *ApiWrap::stickersByEmoji(
|
||||
auto &entry = _stickersByEmoji[emoji];
|
||||
entry.list.clear();
|
||||
entry.list.reserve(data.vstickers.v.size());
|
||||
for (const auto &sticker : data.vstickers.v) {
|
||||
const auto document = _session->data().document(sticker);
|
||||
if (document->sticker()) {
|
||||
entry.list.push_back(document);
|
||||
}
|
||||
}
|
||||
entry.hash = data.vhash.v;
|
||||
entry.received = getms(true);
|
||||
_session->data().notifyStickersUpdated();
|
||||
|
Reference in New Issue
Block a user