Automated merge with https://hg.aws.productengine.com/secondlife/viewer-2-0/
--HG-- branch : product-enginemeow-7.2.2
commit
f9d3791aaf
|
|
@ -96,11 +96,11 @@ bool LLOfferHandler::processNotification(const LLSD& notify)
|
|||
if (!LLIMMgr::instance().hasSession(session_id))
|
||||
{
|
||||
session_id = LLIMMgr::instance().addSession(
|
||||
notification->getSubstitutions()["NAME"], IM_NOTHING_SPECIAL,
|
||||
notification->getSubstitutions()["OBJECTFROMNAME"], IM_NOTHING_SPECIAL,
|
||||
notification->getPayload()["from_id"]);
|
||||
}
|
||||
LLIMMgr::instance().addMessage(session_id, LLUUID(),
|
||||
notification->getSubstitutions()["NAME"],
|
||||
notification->getSubstitutions()["OBJECTFROMNAME"],
|
||||
notification->getMessage());
|
||||
|
||||
LLToastNotifyPanel* notify_box = new LLToastNotifyPanel(notification);
|
||||
|
|
|
|||
|
|
@ -1365,7 +1365,9 @@ void inventory_offer_handler(LLOfferInfo* info, BOOL from_task)
|
|||
|
||||
payload["from_id"] = info->mFromID;
|
||||
args["OBJECTFROMNAME"] = info->mFromName;
|
||||
args["NAME"] = info->mFromName;
|
||||
args["NAME"] = LLSLURL::buildCommand("agent", info->mFromID, "about");
|
||||
std::string verb = "highlight?name=" + msg;
|
||||
args["ITEM_SLURL"] = LLSLURL::buildCommand("inventory", info->mObjectID, verb.c_str());
|
||||
|
||||
LLNotification::Params p("ObjectGiveItem");
|
||||
p.substitutions(args).payload(payload).functor.function(boost::bind(&LLOfferInfo::inventory_offer_callback, info, _1, _2));
|
||||
|
|
|
|||
|
|
@ -4957,8 +4957,9 @@ No valid parcel could be found.
|
|||
<notification
|
||||
icon="notify.tga"
|
||||
name="ObjectGiveItem"
|
||||
type="notify">
|
||||
An object named [OBJECTFROMNAME] owned by [FIRST] [LAST] has given you a [OBJECTTYPE] named [OBJECTNAME].
|
||||
type="offer">
|
||||
An object named [OBJECTFROMNAME] owned by [NAME] has offered you [OBJECTTYPE]:
|
||||
[ITEM_SLURL]
|
||||
<form name="form">
|
||||
<button
|
||||
index="0"
|
||||
|
|
@ -5000,7 +5001,8 @@ An object named [OBJECTFROMNAME] owned by (an unknown Resident) has given you a
|
|||
icon="notify.tga"
|
||||
name="UserGiveItem"
|
||||
type="offer">
|
||||
[NAME] has given you a [OBJECTTYPE] named '[OBJECTNAME]'.
|
||||
[NAME] has offered you [OBJECTTYPE]:
|
||||
[ITEM_SLURL]
|
||||
<form name="form">
|
||||
<button
|
||||
index="0"
|
||||
|
|
|
|||
|
|
@ -75,7 +75,9 @@
|
|||
top="10"
|
||||
visible="false"
|
||||
width="285"
|
||||
wrap="true"/>
|
||||
wrap="true"
|
||||
parse_highlights="true"
|
||||
allow_html="true"/>
|
||||
</panel>
|
||||
<panel
|
||||
background_visible="false"
|
||||
|
|
|
|||
Loading…
Reference in New Issue