From 47f5a2f7f9482eced5451e4bf9a61114c56575ee Mon Sep 17 00:00:00 2001 From: andreykproductengine Date: Mon, 2 Apr 2018 17:32:11 +0300 Subject: MAINT-8203 LLIMInfo crash due to capability --- indra/newview/llimprocessing.cpp | 34 ++++++++++++++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/llimprocessing.cpp b/indra/newview/llimprocessing.cpp index 0c4db3dc6c..da0c218f9f 100644 --- a/indra/newview/llimprocessing.cpp +++ b/indra/newview/llimprocessing.cpp @@ -593,14 +593,44 @@ void LLIMProcessing::processNewMessage(LLUUID from_id, case IM_TYPING_START: { - LLPointer im_info = new LLIMInfo(gMessageSystem); + std::vector bucket(binary_bucket[0], binary_bucket_size); + LLSD data; + data["binary_bucket"] = bucket; + LLPointer im_info = new LLIMInfo(from_id, + from_group, + to_id, + dialog, + agentName, + message, + session_id, + parent_estate_id, + region_id, + position, + data, + offline, + timestamp); gIMMgr->processIMTypingStart(im_info); } break; case IM_TYPING_STOP: { - LLPointer im_info = new LLIMInfo(gMessageSystem); + std::vector bucket(binary_bucket[0], binary_bucket_size); + LLSD data; + data["binary_bucket"] = bucket; + LLPointer im_info = new LLIMInfo(from_id, + from_group, + to_id, + dialog, + agentName, + message, + session_id, + parent_estate_id, + region_id, + position, + data, + offline, + timestamp); gIMMgr->processIMTypingStop(im_info); } break; -- cgit v1.2.3