EXP-806 FIX Server-side messages without a corresponding notification should show original, untranslated content

meow-7.2.2
Richard Linden 2011-05-10 17:11:05 -07:00
parent 91956a0f44
commit f1c4c9d237
1 changed files with 6 additions and 0 deletions

View File

@ -5366,6 +5366,12 @@ bool attempt_standard_notification(LLMessageSystem* msgsystem)
{
// notification was specified using the new mechanism, so we can just handle it here
std::string notificationID;
msgsystem->getStringFast(_PREHASH_AlertInfo, _PREHASH_Message, notificationID);
if (!LLNotifications::getInstance()->templateExists(notificationID))
{
return false;
}
std::string llsdRaw;
LLSD llsdBlock;
msgsystem->getStringFast(_PREHASH_AlertInfo, _PREHASH_Message, notificationID);