summaryrefslogtreecommitdiff
path: root/indra/newview/llvoiceclient.cpp
diff options
context:
space:
mode:
authorRoxie Linden <roxie@lindenlab.com>2010-02-01 15:10:19 -0800
committerRoxie Linden <roxie@lindenlab.com>2010-02-01 15:10:19 -0800
commitfe71dd340ab396b93bde45df438041af5d85fd47 (patch)
treeb07b92b80e5a8f113252ea0b650684567557c851 /indra/newview/llvoiceclient.cpp
parent1a9d19d95527d717b89d4ebf45af81824fcbdf44 (diff)
Merge giab-viewer-trunk 2497, general merge of more
secapi stuff as well as certificate handling stuff. Grid manager as well
Diffstat (limited to 'indra/newview/llvoiceclient.cpp')
-rw-r--r--indra/newview/llvoiceclient.cpp13
1 files changed, 3 insertions, 10 deletions
diff --git a/indra/newview/llvoiceclient.cpp b/indra/newview/llvoiceclient.cpp
index 423c46e14c..fc264a6fcf 100644
--- a/indra/newview/llvoiceclient.cpp
+++ b/indra/newview/llvoiceclient.cpp
@@ -1327,18 +1327,11 @@ void LLVoiceClient::connectorShutdown()
}
}
-void LLVoiceClient::userAuthorized(const std::string& firstName, const std::string& lastName, const LLUUID &agentID)
+void LLVoiceClient::userAuthorized(const std::string& user_id, const LLUUID &agentID)
{
- mAccountFirstName = firstName;
- mAccountLastName = lastName;
+ LL_INFOS("Voice") << "name \"" << user_id << "\" , ID " << agentID << LL_ENDL;
- mAccountDisplayName = firstName;
- mAccountDisplayName += " ";
- mAccountDisplayName += lastName;
-
- LL_INFOS("Voice") << "name \"" << mAccountDisplayName << "\" , ID " << agentID << LL_ENDL;
-
- sConnectingToAgni = LLViewerLogin::getInstance()->isInProductionGrid();
+ sConnectingToAgni = LLGridManager::getInstance()->isInProductionGrid();
mAccountName = nameFromID(agentID);
}