diff options
author | Roxie Linden <roxie@lindenlab.com> | 2010-03-22 16:12:41 -0700 |
---|---|---|
committer | Roxie Linden <roxie@lindenlab.com> | 2010-03-22 16:12:41 -0700 |
commit | 18b7ab0018695e261dbc5058d76f9d371958b034 (patch) | |
tree | 9b4baa5a5ca563ace1b06ac6b3df9fd9c0a0d0f7 /indra/newview/llnotificationtiphandler.cpp | |
parent | 60c4621500e478d66a8bdc3a1c80573be2860fee (diff) | |
parent | be139dfb957e1b0d3c59110284c43630d3b57d23 (diff) |
Weekly automated merge from viewer 2.0
Diffstat (limited to 'indra/newview/llnotificationtiphandler.cpp')
-rw-r--r-- | indra/newview/llnotificationtiphandler.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llnotificationtiphandler.cpp b/indra/newview/llnotificationtiphandler.cpp index 4e2c5085ed..1f1afe293a 100644 --- a/indra/newview/llnotificationtiphandler.cpp +++ b/indra/newview/llnotificationtiphandler.cpp @@ -150,6 +150,12 @@ bool LLTipHandler::processNotification(const LLSD& notify) LLHandlerUtil::spawnIMSession(name, from_id); } + // don't spawn toast for inventory accepted/declined offers if respective IM window is open (EXT-5909) + if (!LLHandlerUtil::canSpawnToast(notification)) + { + return true; + } + LLToastPanel* notify_box = NULL; if("FriendOffline" == notification->getName() || "FriendOnline" == notification->getName()) { |