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

Method convertTopicReplyToId

Telegram/SourceFiles/data/data_histories.cpp:1194–1201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1192}
1193
1194FullMsgId Histories::convertTopicReplyToId(
1195 not_null<History*> history,
1196 FullMsgId replyToId) const {
1197 const auto id = (history->peer->id == replyToId.peer)
1198 ? convertTopicReplyToId(history, replyToId.msg)
1199 : replyToId.msg;
1200 return { replyToId.peer, id };
1201}
1202
1203MsgId Histories::convertTopicReplyToId(
1204 not_null<History*> history,

Callers 1

SendConfirmedFileFunction · 0.80

Calls 1

findMethod · 0.45

Tested by

no test coverage detected