MCPcopy Create free account
hub / github.com/TDesktop-x64/tdesktop / webpage

Method webpage

Telegram/SourceFiles/data/data_session.cpp:3960–3968  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3958}
3959
3960not_null<WebPageData*> Session::webpage(WebPageId id) {
3961 auto i = _webpages.find(id);
3962 if (i == _webpages.cend()) {
3963 i = _webpages.emplace(
3964 id,
3965 std::make_unique<WebPageData>(this, id)).first;
3966 }
3967 return i->second.get();
3968}
3969
3970not_null<WebPageData*> Session::processWebpage(const MTPWebPage &data) {
3971 switch (data.type()) {

Callers 15

sendMessageMethod · 0.45
ExtractVideoTimestampFunction · 0.45
createThumbMethod · 0.45
canShareAtTimeMethod · 0.45
sharedMediaTypeMethod · 0.45
collageKeyMethod · 0.45
validateCollageMethod · 0.45
refreshCaptionMethod · 0.45
PreviewWrapMethod · 0.45
IsItemGoodForTypeFunction · 0.45
ItemContainsMediaFunction · 0.45

Calls 7

FullStoryIdClass · 0.85
emplaceMethod · 0.80
WebPageCollageClass · 0.70
QStringClass · 0.50
findMethod · 0.45
cendMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected