Sync with upstream to make the simulator version change notification useful

This commit is contained in:
Liru Færs
2020-01-06 01:54:30 -05:00
parent a7cba5f1a3
commit 760f23b370
6 changed files with 18 additions and 7 deletions

View File

@@ -4882,9 +4882,10 @@ void process_agent_movement_complete(LLMessageSystem* msg, void**)
if (!gLastVersionChannel.empty() && gSavedSettings.getBOOL("SGServerVersionChangedNotification"))
{
LLSD payload;
payload["message"] = version_channel;
LLNotificationsUtil::add("ServerVersionChanged", LLSD(), payload);
LLSD args;
args["OLD_VERSION"] = gLastVersionChannel;
args["NEW_VERSION"] = version_channel;
LLNotificationsUtil::add("ServerVersionChanged", args);
}
gLastVersionChannel = version_channel;