MCPcopy Create free account
hub / github.com/DiscordMessenger/dm / AddMessageInternal

Method AddMessageInternal

src/windows/MessageList.cpp:4908–4911  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4906}
4907
4908void MessageList::AddMessageInternal(Snowflake msgId, bool toStart, bool updateLastViewedMessage, bool resetAnchor)
4909{
4910 AddMessageInternal(GetMessageCache()->GetLoadedMessage(m_channelID, msgId), toStart, updateLastViewedMessage, resetAnchor);
4911}
4912
4913void MessageList::AddMessageInternal(MessagePtr msg, bool toStart, bool updateLastViewedMessage, bool resetAnchor)
4914{

Callers

nothing calls this directly

Calls 7

GetMessageCacheFunction · 0.85
GetLocalSettingsFunction · 0.85
GetLoadedMessageMethod · 0.80
GetMessageStyleMethod · 0.80
UpdateMethod · 0.45
emptyMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected