summaryrefslogtreecommitdiff
path: root/indra/newview/llnotificationhandlerutil.cpp
diff options
context:
space:
mode:
authorAlexei Arabadji <aarabadji@productengine.com>2010-03-05 14:13:37 +0200
committerAlexei Arabadji <aarabadji@productengine.com>2010-03-05 14:13:37 +0200
commit27283c1de73282590e614b3d5e9bdabe922c0a94 (patch)
tree71d69f6c46f558b20c3413b5d682d1cad577be89 /indra/newview/llnotificationhandlerutil.cpp
parent462ab1c7523b1cc0987bc596df4fd3e4b32e5e54 (diff)
fixed EXT-5910 “Offers logging”,
made logging offer notifications as from SecondLife; --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llnotificationhandlerutil.cpp')
-rw-r--r--indra/newview/llnotificationhandlerutil.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/indra/newview/llnotificationhandlerutil.cpp b/indra/newview/llnotificationhandlerutil.cpp
index 11f210be93..8d1c244a7e 100644
--- a/indra/newview/llnotificationhandlerutil.cpp
+++ b/indra/newview/llnotificationhandlerutil.cpp
@@ -279,8 +279,8 @@ void LLHandlerUtil::logToIMP2P(const LLNotificationPtr& notification, bool to_fi
}
else
{
- logToIM(IM_NOTHING_SPECIAL, session_name, name, notification->getMessage(),
- from_id, from_id);
+ logToIM(IM_NOTHING_SPECIAL, session_name, "", notification->getMessage(),
+ from_id, LLUUID());
}
}
}
@@ -348,7 +348,10 @@ std::string LLHandlerUtil::getSubstitutionName(const LLNotificationPtr& notifica
if (res.empty())
{
LLUUID from_id = notification->getPayload()["FROM_ID"];
- gCacheName->getFullName(from_id, res);
+ if(!gCacheName->getFullName(from_id, res))
+ {
+ res = "";
+ }
}
return res;
}