diff options
Diffstat (limited to 'linden/indra/newview/llviewermessage.cpp')
-rw-r--r-- | linden/indra/newview/llviewermessage.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/linden/indra/newview/llviewermessage.cpp b/linden/indra/newview/llviewermessage.cpp index 9bd11e8..fb1e7cf 100644 --- a/linden/indra/newview/llviewermessage.cpp +++ b/linden/indra/newview/llviewermessage.cpp | |||
@@ -1295,6 +1295,11 @@ void inventory_offer_handler(LLOfferInfo* info, BOOL from_task) | |||
1295 | // Strip any SLURL from the message display. (DEV-2754) | 1295 | // Strip any SLURL from the message display. (DEV-2754) |
1296 | std::string msg = info->mDesc; | 1296 | std::string msg = info->mDesc; |
1297 | int indx = msg.find(" ( http://slurl.com/secondlife/"); | 1297 | int indx = msg.find(" ( http://slurl.com/secondlife/"); |
1298 | if(indx == std::string::npos) | ||
1299 | { | ||
1300 | // try to find new slurl host | ||
1301 | indx = msg.find(" ( http://maps.secondlife.com/secondlife/"); | ||
1302 | } | ||
1298 | if(indx >= 0) | 1303 | if(indx >= 0) |
1299 | { | 1304 | { |
1300 | LLStringUtil::truncate(msg, indx); | 1305 | LLStringUtil::truncate(msg, indx); |