summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorAlexei Arabadji <aarabadji@productengine.com>2010-04-27 17:42:37 +0300
committerAlexei Arabadji <aarabadji@productengine.com>2010-04-27 17:42:37 +0300
commit26efa9cff4d5484238353b3c5649040c321111e5 (patch)
treebf6c4ad8b576c8c35df323ee93d908707c25b1cb /indra/newview
parentca07973e3ebd0ed1b18325a077ba4553d051c662 (diff)
fixed critical EXT-7092 Fatal error:LLOfferInfo::handleRespond:ASSERT:(!"Unexpected notification name") appears after attempt to resolve offer from object
Added missing handler for "ObjectGiveItemUnknownUser" notification. reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/323/ --HG-- branch : product-engine
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llviewermessage.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp
index e12457550a..3d042a8d8c 100644
--- a/indra/newview/llviewermessage.cpp
+++ b/indra/newview/llviewermessage.cpp
@@ -1700,6 +1700,7 @@ void LLOfferInfo::initRespondFunctionMap()
if(mRespondFunctions.empty())
{
mRespondFunctions["ObjectGiveItem"] = boost::bind(&LLOfferInfo::inventory_task_offer_callback, this, _1, _2);
+ mRespondFunctions["ObjectGiveItemUnknownUser"] = boost::bind(&LLOfferInfo::inventory_task_offer_callback, this, _1, _2);
mRespondFunctions["UserGiveItem"] = boost::bind(&LLOfferInfo::inventory_offer_callback, this, _1, _2);
}
}