[Discord]: Add party privacy value
This commit is contained in:
parent
ee078303eb
commit
f17f737361
@ -76,6 +76,7 @@ namespace Components
|
|||||||
if (std::strcmp(hostName, "localhost") == 0)
|
if (std::strcmp(hostName, "localhost") == 0)
|
||||||
{
|
{
|
||||||
DiscordPresence.state = "Private Match";
|
DiscordPresence.state = "Private Match";
|
||||||
|
DiscordPresence.partyPrivacy = DISCORD_PARTY_PRIVATE;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -84,6 +85,7 @@ namespace Components
|
|||||||
TextRenderer::StripAllTextIcons(hostNameBuffer, hostNameBuffer, sizeof(hostNameBuffer));
|
TextRenderer::StripAllTextIcons(hostNameBuffer, hostNameBuffer, sizeof(hostNameBuffer));
|
||||||
|
|
||||||
DiscordPresence.state = hostNameBuffer;
|
DiscordPresence.state = hostNameBuffer;
|
||||||
|
DiscordPresence.partyPrivacy = DISCORD_PARTY_PUBLIC;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::hash<Network::Address> hashFn;
|
std::hash<Network::Address> hashFn;
|
||||||
|
Loading…
Reference in New Issue
Block a user