EXP-806 FIX Server-side messages without a corresponding notification should show original, untranslated content
parent
91956a0f44
commit
f1c4c9d237
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue