mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-05 00:46:08 +00:00
Proof-of-concept custom scheme in WKWebView.
This commit is contained in:
@@ -3509,10 +3509,10 @@ void Session::webpageApplyFields(
|
||||
}
|
||||
}
|
||||
if (const auto page = data.vcached_page()) {
|
||||
for (const auto photo : page->data().vphotos().v) {
|
||||
for (const auto &photo : page->data().vphotos().v) {
|
||||
processPhoto(photo);
|
||||
}
|
||||
for (const auto document : page->data().vdocuments().v) {
|
||||
for (const auto &document : page->data().vdocuments().v) {
|
||||
processDocument(document);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user