diff options
| -rw-r--r-- | indra/newview/llimprocessing.cpp | 10 | 
1 files changed, 10 insertions, 0 deletions
diff --git a/indra/newview/llimprocessing.cpp b/indra/newview/llimprocessing.cpp index 24f40c8182..0294b17991 100644 --- a/indra/newview/llimprocessing.cpp +++ b/indra/newview/llimprocessing.cpp @@ -62,6 +62,8 @@  #pragma warning (disable:4702)  #endif +extern void on_new_message(const LLSD& msg); +  // Strip out "Resident" for display, but only if the message came from a user  // (rather than a script)  static std::string clean_name_from_im(const std::string& name, EInstantMessage type) @@ -1007,6 +1009,14 @@ void LLIMProcessing::processNewMessage(LLUUID from_id,                  }                  LLNotificationsUI::LLNotificationManager::instance().onChat(chat, args); +                if (message != "") +                { +                    LLSD msg_notify; +                    msg_notify["session_id"] = LLUUID(); +                    msg_notify["from_id"] = chat.mFromID; +                    msg_notify["source_type"] = chat.mSourceType; +                    on_new_message(msg_notify); +                }              }  | 
