From dbb0336d4a4739759371f52ab305fa2bd9237f3b Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Mon, 28 Jul 2025 17:49:15 +0800 Subject: Call updateDiscordActivity too in Discord init so when the user enables the integration after being logged in, the init can show the name and location right away. --- indra/newview/llappviewer.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'indra/newview/llappviewer.cpp') diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index bc97e5b852..caf56d5c79 100644 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -5926,9 +5926,7 @@ void LLAppViewer::initDiscordSocial() gDiscordClient->SetStatusChangedCallback([](discordpp::Client::Status status, discordpp::Client::Error, int32_t) { if (status == discordpp::Client::Status::Ready) { - discordpp::Activity activity; - activity.SetType(discordpp::ActivityTypes::Playing); - gDiscordClient->UpdateRichPresence(activity, [](discordpp::ClientResult) {}); + updateDiscordActivity(); } }); if (gSavedSettings.getBOOL("EnableDiscord")) -- cgit v1.2.3