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

Method GetMessageCompact

src/discord/SettingsManager.cpp:251–258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249}
250
251bool SettingsManager::GetMessageCompact()
252{
253 return (bool)m_pSettingsMessage
254 ->GetFieldObjectDefault<Protobuf::ObjectMessage>(Settings::FIELD_TEXT_AND_IMAGES)
255 ->GetFieldObjectDefault<Protobuf::ObjectMessage>(Settings::TextAndImages::FIELD_DISPLAY_COMPACT)
256 ->GetFieldObjectDefault<Protobuf::ObjectVarInt>(Settings::TextAndImages::DisplayCompact::FIELD_VALUE)
257 ->GetValue();
258}
259
260std::vector<Snowflake> SettingsManager::GetGuildFolders()
261{

Callers 3

OptionsInitPageFunction · 0.80
IsCompactMethod · 0.80
UpdateMethod · 0.80

Calls 1

GetValueMethod · 0.45

Tested by

no test coverage detected