diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2024-05-24 15:24:50 +0300 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2024-05-24 15:24:50 +0300 |
commit | e4b7d2f463d19cab28985414365fd8415e3dc700 (patch) | |
tree | 4c2d6ba634d2cdd0be3154d5e469a0cc9f386ca1 /indra/newview/llfloaterimnearbychathandler.cpp | |
parent | 591a80765c4438f72795230824d2e549bafc592d (diff) |
Mark script messages in compact mode too; code clean up
Diffstat (limited to 'indra/newview/llfloaterimnearbychathandler.cpp')
-rw-r--r-- | indra/newview/llfloaterimnearbychathandler.cpp | 2 |
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; |