diff options
| author | Oz Linden <oz@lindenlab.com> | 2013-03-27 13:20:48 -0400 |
|---|---|---|
| committer | Oz Linden <oz@lindenlab.com> | 2013-03-27 13:20:48 -0400 |
| commit | c17db85e73a91c145d6eebe36b3b05e2289deae0 (patch) | |
| tree | 1c534495d9242497715d9f01d43e643b34bb9cb7 /indra/newview/lllogininstance.cpp | |
| parent | e68ab0a563061d3d65a3f552a1f5856071bd230e (diff) | |
add platform and platform version to login request parameters for new version manager query
Diffstat (limited to 'indra/newview/lllogininstance.cpp')
| -rw-r--r-- | indra/newview/lllogininstance.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/lllogininstance.cpp b/indra/newview/lllogininstance.cpp index b27a566c23..a9b7342963 100644 --- a/indra/newview/lllogininstance.cpp +++ b/indra/newview/lllogininstance.cpp @@ -488,6 +488,13 @@ LLLoginInstance::LLLoginInstance() : mDispatcher.add("indeterminate", "", boost::bind(&LLLoginInstance::handleIndeterminate, this, _1)); } +void LLLoginInstance::setPlatformInfo(const std::string platform, + const std::string platform_version) +{ + mPlatform = platform; + mPlatformVersion = platform_version; +} + LLLoginInstance::~LLLoginInstance() { } @@ -592,6 +599,8 @@ void LLLoginInstance::constructAuthParams(LLPointer<LLCredential> user_credentia request_params["mac"] = (char*)hashed_unique_id_string; request_params["version"] = LLVersionInfo::getChannelAndVersion(); // Includes channel name request_params["channel"] = LLVersionInfo::getChannel(); + request_params["platform"] = mPlatform; + request_params["platform_version"] = mPlatformVersion; request_params["id0"] = mSerialNumber; request_params["host_id"] = gSavedSettings.getString("HostID"); request_params["extended_errors"] = true; // request message_id and message_args |
