From ffa32f8c98560c5fd2964a1f711aefb284cdc9e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Liru=20F=C3=A6rs?= Date: Sun, 1 Mar 2020 03:51:47 -0500 Subject: [PATCH] Fix linux compile --- indra/newview/llimprocessing.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/indra/newview/llimprocessing.cpp b/indra/newview/llimprocessing.cpp index 0a46de883..226ab7769 100644 --- a/indra/newview/llimprocessing.cpp +++ b/indra/newview/llimprocessing.cpp @@ -1971,6 +1971,8 @@ void LLIMProcessing::requestOfflineMessagesCoro(const LLCoroResponder& responder from_group = message_data["from_group"].asString() == "Y"; } + auto agentName = message_data["from_agent_name"].asString(); + auto message = message_data["message"].asString(); LLIMProcessing::processNewMessage(message_data["from_agent_id"].asUUID(), from_group, message_data["to_agent_id"].asUUID(), @@ -1978,8 +1980,8 @@ void LLIMProcessing::requestOfflineMessagesCoro(const LLCoroResponder& responder (EInstantMessage)message_data["dialog"].asInteger(), LLUUID::null, // session id, since there is none we can only use frienship/group invite caps message_data["timestamp"].asInteger(), - message_data["from_agent_name"].asString(), - message_data["message"].asString(), + agentName, + message, parent_estate_id, message_data["region_id"].asUUID(), position,