From 5593773a070eac0fe3e288eced96d831c9b753bb Mon Sep 17 00:00:00 2001 From: gibbed Date: Sat, 3 Aug 2019 08:15:44 -0500 Subject: [PATCH] [Discord] Better image keys and avoid setting a small image for now. --- src/xenia/app/discord/discord_presence.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/xenia/app/discord/discord_presence.cc b/src/xenia/app/discord/discord_presence.cc index b3d10af1d..50acd272f 100644 --- a/src/xenia/app/discord/discord_presence.cc +++ b/src/xenia/app/discord/discord_presence.cc @@ -34,7 +34,7 @@ void DiscordPresence::NotPlaying() { DiscordRichPresence discordPresence = {}; discordPresence.state = "Idle"; discordPresence.details = "Standby"; - discordPresence.largeImageKey = "default"; + discordPresence.largeImageKey = "app"; discordPresence.instance = 1; Discord_UpdatePresence(&discordPresence); } @@ -44,8 +44,10 @@ void DiscordPresence::PlayingTitle(const std::wstring& game_title) { DiscordRichPresence discordPresence = {}; discordPresence.state = "In Game"; discordPresence.details = discord_game_title.c_str(); - discordPresence.smallImageKey = "default"; - discordPresence.largeImageKey = "defaultgame"; + // TODO(gibbed): we don't have state icons yet. + // discordPresence.smallImageKey = "app"; + // discordPresence.largeImageKey = "state_ingame"; + discordPresence.largeImageKey = "app"; discordPresence.instance = 1; Discord_UpdatePresence(&discordPresence); }