Commits

Anonymous committed c52da8c

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

  • Participants
  • Parent commits 40324f8

Comments (0)

Files changed (1)

File indra/newview/llviewermessage.cpp

 	{
 		// 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);