Put in some changes along sg1.4 dev history.
This commit is contained in:
@@ -1341,6 +1341,11 @@ void inventory_offer_handler(LLOfferInfo* info, BOOL from_task)
|
||||
// Strip any SLURL from the message display. (DEV-2754)
|
||||
std::string msg = info->mDesc;
|
||||
int indx = msg.find(" ( http://slurl.com/secondlife/");
|
||||
if(indx == std::string::npos)
|
||||
{
|
||||
// try to find new slurl host
|
||||
indx = msg.find(" ( http://maps.secondlife.com/secondlife/");
|
||||
}
|
||||
if(indx >= 0)
|
||||
{
|
||||
LLStringUtil::truncate(msg, indx);
|
||||
|
||||
Reference in New Issue
Block a user