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

Method userpicUniqueKey

Telegram/SourceFiles/data/data_peer.cpp:516–520  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

514}
515
516InMemoryKey PeerData::userpicUniqueKey(Ui::PeerUserpicView &view) const {
517 return useEmptyUserpic(view)
518 ? ensureEmptyUserpic()->uniqueKey()
519 : inMemoryKey(_userpic.location());
520}
521
522QImage PeerData::GenerateUserpicImage(
523 not_null<PeerData*> peer,

Callers 15

userpicImageMethod · 0.80
ContentByUsersFunction · 0.80
addMenuRowMethod · 0.80
ProcessUserpicFunction · 0.80
ProcessCurrentFunction · 0.80
AddPermanentLinkBlockFunction · 0.80
PeerUserpicImageValueFunction · 0.80
ensureUserpicCacheMethod · 0.80

Calls 3

uniqueKeyMethod · 0.80
inMemoryKeyFunction · 0.50
locationMethod · 0.45

Tested by

no test coverage detected