summaryrefslogtreecommitdiff
path: root/indra/newview/llgiveinventory.cpp
diff options
context:
space:
mode:
authorAndreyL ProductEngine <andreylproductengine@lindenlab.com>2014-05-23 17:57:40 +0300
committerAndreyL ProductEngine <andreylproductengine@lindenlab.com>2014-05-23 17:57:40 +0300
commit7a5d2db8e35b2220e27140fe329600211373160c (patch)
treeff737af89803f53e4c975f39df0656e4d527533f /indra/newview/llgiveinventory.cpp
parentca79d238935b2569194adfabae59dfbff4e5eea4 (diff)
MAINT-4036 FIXED [CHUIBUG]Long pause on first open of preferences or right-clicking a user in friend list
Diffstat (limited to 'indra/newview/llgiveinventory.cpp')
-rwxr-xr-xindra/newview/llgiveinventory.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/newview/llgiveinventory.cpp b/indra/newview/llgiveinventory.cpp
index 813d2081ce..b2fc41526e 100755
--- a/indra/newview/llgiveinventory.cpp
+++ b/indra/newview/llgiveinventory.cpp
@@ -328,8 +328,10 @@ void LLGiveInventory::logInventoryOffer(const LLUUID& to_agent, const LLUUID &im
{
// Build a new format username or firstname_lastname for legacy names
// to use it for a history log filename.
- full_name = LLCacheName::buildUsername(full_name);
- LLIMModel::instance().logToFile(full_name, LLTrans::getString("SECOND_LIFE"), im_session_id, LLTrans::getString("inventory_item_offered-im"));
+ if (LLLogChat::buildIMP2PLogFilename(to_agent, LLStringUtil::null, full_name))
+ {
+ LLIMModel::instance().logToFile(full_name, LLTrans::getString("SECOND_LIFE"), im_session_id, LLTrans::getString("inventory_item_offered-im"));
+ }
}
}
}