From d645d418b3d8de1c2d3665925056151a824de715 Mon Sep 17 00:00:00 2001 From: Alexei Arabadji Date: Wed, 21 Apr 2010 18:27:39 +0300 Subject: fixed EXT-6968 Nothing happens if press 'Show' button on inventory offer toast Corrected passing parameters of inventory offer notification. reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/293/ --HG-- branch : product-engine --- indra/newview/llviewermessage.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp index 0d02aa56b8..43c3042c65 100644 --- a/indra/newview/llviewermessage.cpp +++ b/indra/newview/llviewermessage.cpp @@ -1800,10 +1800,8 @@ void inventory_offer_handler(LLOfferInfo* info) // Inform user that there is a script floater via toast system { payload["give_inventory_notification"] = TRUE; - LLNotification::Params params(p.name); - params.substitutions = p.substitutions; - params.payload = payload; - LLPostponedNotification::add( params, info->mFromID, false); + p.payload = payload; + LLPostponedNotification::add(p, info->mFromID, false); } } } -- cgit v1.2.3