From 117783e30e6876fde4f11afc89f9a21df66a0c68 Mon Sep 17 00:00:00 2001
From: Rye Mutt <rye@alchemyviewer.org>
Date: Tue, 2 Jan 2024 23:11:44 -0500
Subject: [PATCH] Fix chat formatting when timestamps are off

---
 indra/newview/llchathistory.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/indra/newview/llchathistory.cpp b/indra/newview/llchathistory.cpp
index a2a6ad2b292..f771b0c9aee 100644
--- a/indra/newview/llchathistory.cpp
+++ b/indra/newview/llchathistory.cpp
@@ -1460,9 +1460,8 @@ void LLChatHistory::appendMessage(const LLChat& chat, const LLSD &args, const LL
 
 				// Add link to avatar's inspector and delimiter to message.
 				mEditor->appendText(std::string(link_params.link_href), prependNewLineState, link_params);
-				mEditor->appendText(delimiter, prependNewLineState, body_message_params);
-
 				prependNewLineState = false;
+				mEditor->appendText(delimiter, prependNewLineState, body_message_params);
 			}
             else if (teleport_separator)
             {
-- 
GitLab