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

Method nonChannelMessage

Telegram/SourceFiles/data/data_session.cpp:3165–3171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3163}
3164
3165HistoryItem *Session::nonChannelMessage(MsgId itemId) const {
3166 if (!IsServerMsgId(itemId)) {
3167 return nullptr;
3168 }
3169 const auto i = _nonChannelMessages.find(itemId);
3170 return (i != end(_nonChannelMessages)) ? i->second.get() : nullptr;
3171}
3172
3173void Session::updateDependentMessages(not_null<HistoryItem*> item) {
3174 const auto i = _dependentMessages.find(item);

Callers 3

mediaAndMentionsReadMethod · 0.80
applyUpdateNoPtsCheckMethod · 0.80
OpenStarGiftLinkFunction · 0.80

Calls 3

IsServerMsgIdFunction · 0.85
findMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected