mirror of
https://github.com/telegramdesktop/tdesktop
synced 2024-12-25 16:02:52 +00:00
parent
7de15ce5cf
commit
999fa39d7c
@ -1233,10 +1233,7 @@ Link::Link(
|
||||
}
|
||||
}
|
||||
|
||||
// #TODO webpage
|
||||
//_page = (media && media->type() == MediaTypeWebPage)
|
||||
// ? static_cast<HistoryWebPage*>(media)->webpage().get()
|
||||
// : nullptr;
|
||||
_page = media ? media->webpage() : nullptr;
|
||||
if (_page) {
|
||||
mainUrl = _page->url;
|
||||
if (_page->document) {
|
||||
|
Loading…
Reference in New Issue
Block a user