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

Method find

Telegram/SourceFiles/data/data_histories.cpp:145–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145History *Histories::find(PeerId peerId) {
146 const auto i = peerId ? _map.find(peerId) : end(_map);
147 return (i != end(_map)) ? i->second.get() : nullptr;
148}
149
150not_null<History*> Histories::findOrCreate(PeerId peerId) {
151 Expects(peerId != 0);

Callers 8

requestDialogEntryMethod · 0.45
requestGroupAroundMethod · 0.45
checkEmptyStateMethod · 0.45
sendPreparedMessageMethod · 0.45
checkTopicCreatedMethod · 0.45
convertTopicReplyToIdMethod · 0.45
finishSentRequestMethod · 0.45
lookupMethod · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected