diff options
| author | Richard Linden <none@none> | 2011-05-13 17:02:49 -0700 |
|---|---|---|
| committer | Richard Linden <none@none> | 2011-05-13 17:02:49 -0700 |
| commit | 1e6d1879a01d57e8949add79fa4f3ef5d11c1c43 (patch) | |
| tree | 1f769d4c8375e23576ecb01457979deeeba34c24 /indra/newview/llviewermessage.cpp | |
| parent | e8ede07451c65aea898bc3f58a980b6b0d9af302 (diff) | |
| parent | 039b6baf065a87d747647fb0477c799a9949ebf2 (diff) | |
Automated merge with http://hg.secondlife.com/viewer-development
Diffstat (limited to 'indra/newview/llviewermessage.cpp')
| -rw-r--r-- | indra/newview/llviewermessage.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp index fea5345f9c..298e789f65 100644 --- a/indra/newview/llviewermessage.cpp +++ b/indra/newview/llviewermessage.cpp @@ -5373,6 +5373,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); |
