summaryrefslogtreecommitdiff
path: root/indra/newview/llchathistory.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-05-24 10:15:24 -0400
committerNat Goodspeed <nat@lindenlab.com>2024-05-24 10:15:24 -0400
commit94cac4c443b5acc189b5223c78eb278648846338 (patch)
tree2e730bce8741bc8130e0f822d4d15394c41c9d84 /indra/newview/llchathistory.cpp
parentf700ec2e8b16eea8eded72839857c70a081fe478 (diff)
Fix merge glitches
Diffstat (limited to 'indra/newview/llchathistory.cpp')
-rw-r--r--indra/newview/llchathistory.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/indra/newview/llchathistory.cpp b/indra/newview/llchathistory.cpp
index e5878a9a24..d549f372e3 100644
--- a/indra/newview/llchathistory.cpp
+++ b/indra/newview/llchathistory.cpp
@@ -1265,19 +1265,8 @@ void LLChatHistory::appendMessage(const LLChat& chat, const LLSD &args, const LL
name_params.color(name_color);
name_params.readonly_color(name_color);
-<<<<<<< variant A
auto [message, is_lua] = LLStringUtil::withoutPrefix(chat.mText, LUA_PREFIX);
std::string prefix = message.substr(0, 4);
->>>>>>> variant B
- bool is_lua = LLStringUtil::startsWith(chat.mText, LUA_PREFIX);
-
- std::string message = remove_LUA_PREFIX(chat.mText, is_lua);
- std::string prefix = message.substr(0, 4);
-
-####### Ancestor
- bool is_lua = (chat.mText.substr(0, LUA_PREFIX.size()) == LUA_PREFIX);
- std::string prefix = chat.mText.substr(is_lua ? LUA_PREFIX.size() : 0, 4);
-======= end
//IRC styled /me messages.
bool irc_me = prefix == "/me " || prefix == "/me'";