summaryrefslogtreecommitdiff
path: root/indra/newview/llnotificationhandlerutil.cpp
diff options
context:
space:
mode:
authorJonathan "Geenz" Goodman <geenz@geenzo.com>2025-03-11 22:44:49 -0400
committerJonathan "Geenz" Goodman <geenz@geenzo.com>2025-03-11 22:44:49 -0400
commite0d14e02e152b4e75ff8bdd974677f9669163d68 (patch)
tree3379d14c9c5d8c188d2fb716e61edd09fc1219a9 /indra/newview/llnotificationhandlerutil.cpp
parent179b29252d8bb28e11686a1852c8e8ffcd98ecc0 (diff)
parentb50ad90febda24d2296541f46ea1a129232aad70 (diff)
Merge branch 'release/2025.03' into rye/forevermac
Diffstat (limited to 'indra/newview/llnotificationhandlerutil.cpp')
-rw-r--r--indra/newview/llnotificationhandlerutil.cpp16
1 files changed, 12 insertions, 4 deletions
diff --git a/indra/newview/llnotificationhandlerutil.cpp b/indra/newview/llnotificationhandlerutil.cpp
index 23f1f8fa5a..cdf7f05ada 100644
--- a/indra/newview/llnotificationhandlerutil.cpp
+++ b/indra/newview/llnotificationhandlerutil.cpp
@@ -92,10 +92,18 @@ void LLHandlerUtil::logToIM(const EInstantMessage& session_type,
from = SYSTEM_FROM;
}
- // Build a new format username or firstname_lastname for legacy names
- // to use it for a history log filename.
- std::string user_name = LLCacheName::buildUsername(session_name);
- LLIMModel::instance().logToFile(user_name, from, from_id, message);
+ std::string file_name;
+ if (session_type == IM_SESSION_GROUP_START)
+ {
+ file_name = session_name + LLLogChat::getGroupChatSuffix();
+ }
+ else
+ {
+ // Build a new format username or firstname_lastname for legacy names
+ // to use it for a history log filename.
+ file_name = LLCacheName::buildUsername(session_name);
+ }
+ LLIMModel::instance().logToFile(file_name, from, from_id, message);
}
else
{