From 92034c9d893ff145f6eda6551e73f477f42bdc8b Mon Sep 17 00:00:00 2001 From: mobserveur Date: Wed, 6 Nov 2024 10:59:35 +0100 Subject: Conversation panel: Nearby item on top This commit forces the nearby item on the left side on the panel to be on top instead of the bottom. --- indra/newview/llconversationmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llconversationmodel.cpp b/indra/newview/llconversationmodel.cpp index 4cd85ac756..bd29dba6bc 100644 --- a/indra/newview/llconversationmodel.cpp +++ b/indra/newview/llconversationmodel.cpp @@ -727,7 +727,7 @@ bool LLConversationSort::operator()(const LLConversationItem* const& a, const LL if ((type_a == LLConversationItem::CONV_SESSION_NEARBY) || (type_b == LLConversationItem::CONV_SESSION_NEARBY)) { // If one is the nearby session, put nearby session *always* last - return (type_b == LLConversationItem::CONV_SESSION_NEARBY); + return (!(type_b == LLConversationItem::CONV_SESSION_NEARBY)); } else if (sort_order == LLConversationFilter::SO_SESSION_TYPE) { -- cgit v1.2.3