diff options
author | Alexei Arabadji <aarabadji@productengine.com> | 2010-04-21 18:27:39 +0300 |
---|---|---|
committer | Alexei Arabadji <aarabadji@productengine.com> | 2010-04-21 18:27:39 +0300 |
commit | d645d418b3d8de1c2d3665925056151a824de715 (patch) | |
tree | 8c774afde334e9e0193fd82f53af8b62f56a394d /indra | |
parent | c713af7c63f3d354152bd84aed43fecd334ebfa4 (diff) |
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
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llviewermessage.cpp | 6 |
1 files 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<LLPostponedOfferNotification>( params, info->mFromID, false); + p.payload = payload; + LLPostponedNotification::add<LLPostponedOfferNotification>(p, info->mFromID, false); } } } |