diff options
author | McCabe Maxsted | 2009-10-03 04:04:04 -0700 |
---|---|---|
committer | McCabe Maxsted | 2009-10-03 04:04:04 -0700 |
commit | 955eebfadc1299505d66eee7886ef41ea888a30a (patch) | |
tree | ff19f0460e5b676ae624d4109013801981b46651 /linden/indra/newview/llviewermessage.cpp | |
parent | Applied clickable object names for whisper/say/shout from Emerald viewer (diff) | |
download | meta-impy-955eebfadc1299505d66eee7886ef41ea888a30a.zip meta-impy-955eebfadc1299505d66eee7886ef41ea888a30a.tar.gz meta-impy-955eebfadc1299505d66eee7886ef41ea888a30a.tar.bz2 meta-impy-955eebfadc1299505d66eee7886ef41ea888a30a.tar.xz |
Object IMs are now prefixed with 'IM: '. As a side effect, names are now clickable when show IMs in chat is enabled
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llviewermessage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llviewermessage.cpp b/linden/indra/newview/llviewermessage.cpp index 47231fb..e01aa4f 100644 --- a/linden/indra/newview/llviewermessage.cpp +++ b/linden/indra/newview/llviewermessage.cpp | |||
@@ -1929,7 +1929,7 @@ void process_improved_im(LLMessageSystem *msg, void **user_data) | |||
1929 | { | 1929 | { |
1930 | return; | 1930 | return; |
1931 | } | 1931 | } |
1932 | chat.mText = name + separator_string + message.substr(message_offset); | 1932 | chat.mText = std::string("IM: ") + name + separator_string + message.substr(message_offset); |
1933 | chat.mFromName = name; | 1933 | chat.mFromName = name; |
1934 | 1934 | ||
1935 | // Build a link to open the object IM info window. | 1935 | // Build a link to open the object IM info window. |