fixed EXT-2341 "Add Friend notification not shown", EXT-2351 "Friendship and
Teleport offers no longer pop toast notifications"; suppresed IM-floater on incoming offer and registerd offer handler in chiclet counter updater; --HG-- branch : product-enginemeow-7.2.2
parent
2857dd026c
commit
eed0b3460b
|
|
@ -103,6 +103,7 @@ LLNotificationChiclet::LLNotificationChiclet(const Params& p)
|
|||
// connect counter handlers to the signals
|
||||
connectCounterUpdatersToSignal("notify");
|
||||
connectCounterUpdatersToSignal("groupnotify");
|
||||
connectCounterUpdatersToSignal("offer");
|
||||
}
|
||||
|
||||
LLNotificationChiclet::~LLNotificationChiclet()
|
||||
|
|
|
|||
|
|
@ -95,14 +95,9 @@ bool LLOfferHandler::processNotification(const LLSD& notify)
|
|||
LLUUID session_id = LLIMMgr::computeSessionID(IM_NOTHING_SPECIAL, notification->getPayload()["from_id"]);
|
||||
if (!LLIMMgr::instance().hasSession(session_id))
|
||||
{
|
||||
// create session with faked type to avoid creating chicklets
|
||||
session_id = LLIMMgr::instance().addSession(
|
||||
notification->getSubstitutions()["NAME"], IM_NOTHING_SPECIAL,
|
||||
notification->getPayload()["from_id"]);
|
||||
if (session_id != LLUUID::null)
|
||||
{
|
||||
LLIMFloater::show(session_id);
|
||||
}
|
||||
}
|
||||
LLIMMgr::instance().addMessage(session_id, LLUUID(),
|
||||
notification->getSubstitutions()["NAME"],
|
||||
|
|
|
|||
Loading…
Reference in New Issue