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

Method activeMediaView

Telegram/SourceFiles/data/data_document.cpp:988–990  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

986}
987
988std::shared_ptr<Data::DocumentMedia> DocumentData::activeMediaView() const {
989 return _media.lock();
990}
991
992void DocumentData::setGoodThumbnailPhoto(not_null<PhotoData*> photo) {
993 _goodThumbnailPhoto = photo;

Callers 1

collectLocalDataMethod · 0.45

Calls 1

lockMethod · 0.45

Tested by

no test coverage detected