summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermessage.cpp
diff options
context:
space:
mode:
authorAlexei Arabadji <aarabadji@productengine.com>2010-04-20 14:45:15 +0300
committerAlexei Arabadji <aarabadji@productengine.com>2010-04-20 14:45:15 +0300
commit54d632fc2b224cd4c1e1b4f270e0189aac3cd322 (patch)
tree52413d0bacf0817e3f03721234000d7d4f538fe9 /indra/newview/llviewermessage.cpp
parent53e4718a460f3d0c421d93296d35974f95bc77fb (diff)
fixed major EXT-6905 Inventory offer from another resident appears like notification from object;
Fixed regression introduced by rev. 050ab9232a5a, provided passing payload parameter "give_inventory_notification" to notification. reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/273/ --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llviewermessage.cpp')
-rw-r--r--indra/newview/llviewermessage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp
index 360c6be2c6..930568f904 100644
--- a/indra/newview/llviewermessage.cpp
+++ b/indra/newview/llviewermessage.cpp
@@ -1799,7 +1799,7 @@ void inventory_offer_handler(LLOfferInfo* info)
payload["give_inventory_notification"] = TRUE;
LLNotification::Params params(p.name);
params.substitutions = p.substitutions;
- params.payload = p.payload;
+ params.payload = payload;
LLPostponedNotification::add<LLPostponedOfferNotification>( params, info->mFromID, false);
}
}