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

Method ForgetProfile

src/discord/ProfileCache.cpp:144–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144void ProfileCache::ForgetProfile(Snowflake user)
145{
146 auto iter = m_profileSets.find(user);
147 if (iter != m_profileSets.end())
148 m_profileSets.erase(iter);
149}
150
151void ProfileCache::RequestExtraData(Snowflake user, Snowflake guild, bool mutualGuilds, bool mutualFriends)
152{

Callers 1

Calls 3

eraseMethod · 0.80
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected