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

Method unregisterMessageRandomId

Telegram/SourceFiles/data/data_session.cpp:3206–3208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3204}
3205
3206void Session::unregisterMessageRandomId(uint64 randomId) {
3207 _messageByRandomId.remove(randomId);
3208}
3209
3210FullMsgId Session::messageIdByRandomId(uint64 randomId) const {
3211 const auto i = _messageByRandomId.find(randomId);

Callers 2

sendMessageFailMethod · 0.80
feedUpdateMethod · 0.80

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected