summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2025-07-28 16:14:04 +0800
committerErik Kundiman <erik@megapahit.org>2025-07-28 16:14:04 +0800
commit649fb14b78e7f42acc5f5bdb3c16081d66865945 (patch)
treeef840bb859713c782ef547effde711223c50c69f
parent306eb28d78c9aa83669307dc49daacb94f8c8742 (diff)
Update Rich Presence location on region change
I had to find a spot in source code where it doesn't cause a crash (it did in LLAgent::setRegion), but I'm not removing the one in llstartup.cpp because on login, the one in llviewermessage.cpp gets only the placeholder coords (10, 10, 10).
-rw-r--r--indra/newview/llviewermessage.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp
index 47d7d42bf7..d6f1b96a7b 100644
--- a/indra/newview/llviewermessage.cpp
+++ b/indra/newview/llviewermessage.cpp
@@ -3072,6 +3072,10 @@ void process_agent_movement_complete(LLMessageSystem* msg, void**)
}
}
+#ifdef LL_DISCORD
+ LLAppViewer::updateDiscordActivity();
+#endif
+
if ( LLTracker::isTracking(NULL) )
{
// Check distance to beacon, if < 5m, remove beacon