diff options
| author | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2026-03-19 18:51:14 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-19 18:51:14 +0200 |
| commit | 0aa33a144d392c16eaa419ffefa7c98af2e37834 (patch) | |
| tree | 8ec983d05314eeede410402f34c262a4ab959a4b /indra/newview/llnotificationofferhandler.cpp | |
| parent | 05c8cd82dc7a0bb900e837e932ab6f619fc20fe0 (diff) | |
#5454 fix not showing Friend requests during start up notification
Diffstat (limited to 'indra/newview/llnotificationofferhandler.cpp')
| -rw-r--r-- | indra/newview/llnotificationofferhandler.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llnotificationofferhandler.cpp b/indra/newview/llnotificationofferhandler.cpp index b65da28bda..27ef28f32a 100644 --- a/indra/newview/llnotificationofferhandler.cpp +++ b/indra/newview/llnotificationofferhandler.cpp @@ -36,6 +36,7 @@ #include "llscriptfloater.h" #include "llimview.h" #include "llnotificationsutil.h" +#include "llchannelmanager.h" #include <boost/regex.hpp> @@ -135,7 +136,13 @@ bool LLOfferHandler::processNotification(const LLNotificationPtr& notification, LLScreenChannel* channel = dynamic_cast<LLScreenChannel*>(mChannel.get()); if(channel) + { + if (LLChannelManager::getInstance()->getStartUpToastInited() && notification->getOfferFromAgent()) + { + LLChannelManager::getInstance()->onStartUpToastClose(); + } channel->addToast(p); + } } |
