summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterimnearbychathandler.cpp
diff options
context:
space:
mode:
authornat-goodspeed <nat@lindenlab.com>2024-05-24 09:51:25 -0400
committerGitHub <noreply@github.com>2024-05-24 09:51:25 -0400
commit66a8b0ebb7fc1e6acdb0028f7ca8547153e10062 (patch)
tree4c2d6ba634d2cdd0be3154d5e469a0cc9f386ca1 /indra/newview/llfloaterimnearbychathandler.cpp
parent591a80765c4438f72795230824d2e549bafc592d (diff)
parente4b7d2f463d19cab28985414365fd8415e3dc700 (diff)
Merge pull request #1562 from secondlife/lua-nearby-chat
Mark script messages in compact mode too; code clean up
Diffstat (limited to 'indra/newview/llfloaterimnearbychathandler.cpp')
-rw-r--r--indra/newview/llfloaterimnearbychathandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfloaterimnearbychathandler.cpp b/indra/newview/llfloaterimnearbychathandler.cpp
index 91d9cd56cf..0c7cd3aec4 100644
--- a/indra/newview/llfloaterimnearbychathandler.cpp
+++ b/indra/newview/llfloaterimnearbychathandler.cpp
@@ -613,7 +613,7 @@ void LLFloaterIMNearbyChatHandler::processChat(const LLChat& chat_msg,
}
else
{
- toast_msg = chat_msg.mIsScript ? chat_msg.mText.substr(LUA_PREFIX.size()) : chat_msg.mText;
+ toast_msg = remove_LUA_PREFIX(chat_msg.mText, chat_msg.mIsScript);
}
bool chat_overlaps = false;