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

Method nonPersonalPhoto

Telegram/SourceFiles/api/api_peer_photo.cpp:677–681  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

675}
676
677PhotoData *PeerPhoto::nonPersonalPhoto(
678 not_null<UserData*> user) const {
679 const auto i = _nonPersonalPhotos.find(user);
680 return (i != end(_nonPersonalPhotos)) ? i->second.get() : nullptr;
681}
682
683} // namespace Api

Callers 3

setupPeerViewersMethod · 0.80
processPeerPhotoMethod · 0.80
setupContentMethod · 0.80

Calls 2

findMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected