Squeak
Links for teleport offers, show autoresponded with item to muted in local, autounmute notification (so you can remute easily :P). Cleanup redundant strings
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
#include "llagentdata.h"
|
||||
#include "llagentui.h"
|
||||
#include "llagentwearables.h"
|
||||
#include "llavataractions.h"
|
||||
#include "llfloaterchat.h" //for addChatHistory
|
||||
#include "llfloatertools.h" // for gFloaterTool
|
||||
#include "llhudeffecttrail.h"
|
||||
@@ -348,14 +349,9 @@ void LLGiveInventory::logInventoryOffer(const LLUUID& to_agent, const LLUUID &im
|
||||
// If this item was given by drag-and-drop on avatar while IM panel wasn't open, log this action to IM history.
|
||||
else
|
||||
{
|
||||
std::string full_name;
|
||||
if (LLAvatarNameCache::getNSName(to_agent, full_name))
|
||||
{
|
||||
std::string getAvatarSLURL(const LLUUID& id, const std::string& name);
|
||||
LLChat chat(LLTrans::getString("inventory_item_offered_to") + ' ' + getAvatarSLURL(to_agent, full_name));
|
||||
chat.mSourceType = CHAT_SOURCE_SYSTEM;
|
||||
LLFloaterChat::addChatHistory(chat);
|
||||
}
|
||||
LLChat chat(LLTrans::getString("inventory_item_offered_to") + ' ' + LLAvatarActions::getSLURL(to_agent));
|
||||
chat.mSourceType = CHAT_SOURCE_SYSTEM;
|
||||
LLFloaterChat::addChatHistory(chat);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user