diff options
author | Erik Kundiman <erik@megapahit.org> | 2025-06-20 20:02:55 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2025-06-20 20:02:55 +0800 |
commit | 3ed1035ff23688316d7a2ffa166c80dd6ea0c20f (patch) | |
tree | e846881da6f4ae2c4a3e907b8f13177c9b1bd365 | |
parent | 9e30b65081735bed52e4b37588b2707812ec0816 (diff) |
Fix chat history (with seconds) parsed wrong
https://megapahit.com/show_bug.cgi?id=163
-rw-r--r-- | indra/newview/lllogchat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lllogchat.cpp b/indra/newview/lllogchat.cpp index 5e230d95bd..e86599035e 100644 --- a/indra/newview/lllogchat.cpp +++ b/indra/newview/lllogchat.cpp @@ -78,7 +78,7 @@ const static std::string MULTI_LINE_PREFIX(" "); * * Note: "You" was used as an avatar names in viewers of previous versions */ -const static boost::regex TIMESTAMP_AND_STUFF("^(\\[\\d{4}/\\d{1,2}/\\d{1,2}\\s+\\d{1,2}:\\d{2}\\]\\s+|\\[\\d{1,2}:\\d{2}\\]\\s+)?(.*)$"); +const static boost::regex TIMESTAMP_AND_STUFF("^(\\[\\d{4}/\\d{1,2}/\\d{1,2}\\s+\\d{1,2}:\\d{2}:\\d{2}\\]\\s+|\\[\\d{1,2}:\\d{2}\\]\\s+)?(.*)$"); const static boost::regex TIMESTAMP("^(\\[\\d{4}/\\d{1,2}/\\d{1,2}\\s+\\d{1,2}:\\d{2}\\]|\\[\\d{1,2}:\\d{2}\\]).*"); /** |