Assorted fixes
This commit is contained in:
@@ -521,7 +521,8 @@ BOOL LLCacheName::getFullName(const LLUUID& id, std::string& fullname)
|
|||||||
{
|
{
|
||||||
std::string first_name, last_name;
|
std::string first_name, last_name;
|
||||||
BOOL res = getName(id, first_name, last_name);
|
BOOL res = getName(id, first_name, last_name);
|
||||||
fullname = first_name + " " + last_name;
|
if(res)
|
||||||
|
fullname = first_name + " " + last_name;
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,6 +20,17 @@
|
|||||||
<key>Value</key>
|
<key>Value</key>
|
||||||
<string />
|
<string />
|
||||||
</map>
|
</map>
|
||||||
|
<key>ShowcaseURLDefault</key>
|
||||||
|
<map>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string>URL to load for the Showcase tab in Second Life</string>
|
||||||
|
<key>Persist</key>
|
||||||
|
<integer>1</integer>
|
||||||
|
<key>Type</key>
|
||||||
|
<string>String</string>
|
||||||
|
<key>Value</key>
|
||||||
|
<string>http://secondlife.com/app/showcase/index.php?</string>
|
||||||
|
</map>
|
||||||
|
|
||||||
<key>CheckForGridUpdates</key>
|
<key>CheckForGridUpdates</key>
|
||||||
<map>
|
<map>
|
||||||
|
|||||||
@@ -1620,7 +1620,7 @@ void LLFloaterIMPanel::addHistoryLine(const std::string &utf8msg, const LLColor4
|
|||||||
{
|
{
|
||||||
std::string show_name = name;
|
std::string show_name = name;
|
||||||
LLAvatarName avatar_name;
|
LLAvatarName avatar_name;
|
||||||
if ((LLUUID::null != source) &&
|
if (source.notNull() &&
|
||||||
LLAvatarNameCache::get(source, &avatar_name))
|
LLAvatarNameCache::get(source, &avatar_name))
|
||||||
{
|
{
|
||||||
static LLCachedControl<S32> phoenix_name_system("PhoenixNameSystem", 0);
|
static LLCachedControl<S32> phoenix_name_system("PhoenixNameSystem", 0);
|
||||||
|
|||||||
@@ -577,6 +577,13 @@ void LLIMMgr::addMessage(
|
|||||||
other_participant_id = LLUUID::null;
|
other_participant_id = LLUUID::null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//This is for InWorldz glitch.
|
||||||
|
if( other_participant_id == session_id )
|
||||||
|
{
|
||||||
|
other_participant_id = LLUUID::null;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
LLFloaterIMPanel* floater;
|
LLFloaterIMPanel* floater;
|
||||||
LLUUID new_session_id = session_id;
|
LLUUID new_session_id = session_id;
|
||||||
if (new_session_id.isNull())
|
if (new_session_id.isNull())
|
||||||
|
|||||||
@@ -849,7 +849,7 @@ void LLPanelLogin::refreshLoginPage()
|
|||||||
// kick off a request to grab the url manually
|
// kick off a request to grab the url manually
|
||||||
gResponsePtr = LLIamHereLogin::build(sInstance);
|
gResponsePtr = LLIamHereLogin::build(sInstance);
|
||||||
|
|
||||||
std::string login_page = "http://phoenixviewer.com/app/login/"; //gHippoGridManager->getConnectedGrid()->getLoginPage();
|
std::string login_page = gHippoGridManager->getConnectedGrid()->getLoginPage();
|
||||||
if (!login_page.empty()) {
|
if (!login_page.empty()) {
|
||||||
LLHTTPClient::head(login_page, gResponsePtr);
|
LLHTTPClient::head(login_page, gResponsePtr);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -1941,18 +1941,7 @@ void process_improved_im(LLMessageSystem *msg, void **user_data)
|
|||||||
true);
|
true);
|
||||||
|
|
||||||
// pretend this is chat generated by self, so it does not show up on screen
|
// pretend this is chat generated by self, so it does not show up on screen
|
||||||
std::string prepend_msg;
|
chat.mText = std::string("IM: ") + name + separator_string + message.substr(message_offset);
|
||||||
if (gAgent.isInGroup(session_id)&& gSavedSettings.getBOOL("OptionShowGroupNameInChatIM"))
|
|
||||||
{
|
|
||||||
prepend_msg = "[";
|
|
||||||
prepend_msg += std::string((char*)binary_bucket);
|
|
||||||
prepend_msg += "] ";
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
prepend_msg = std::string("IM: ");
|
|
||||||
}
|
|
||||||
chat.mText = prepend_msg + name + separator_string + message.substr(message_offset);
|
|
||||||
LLFloaterChat::addChat( chat, TRUE, TRUE );
|
LLFloaterChat::addChat( chat, TRUE, TRUE );
|
||||||
}
|
}
|
||||||
else if (from_id.isNull())
|
else if (from_id.isNull())
|
||||||
|
|||||||
Reference in New Issue
Block a user