diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2020-07-22 19:15:28 +0300 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2020-07-22 19:15:28 +0300 |
commit | 48a4e9f5ed3851bd56bd54c5c761fe9133b92350 (patch) | |
tree | a8826d2dc98d5e234beb71c5b56d7678a341506a /indra/newview/llimprocessing.cpp | |
parent | 7d4b1c014c9900af47005a529df50ece14249326 (diff) |
SL-13620 FIXED The code appears instead of the maturity icon in the chat history
Diffstat (limited to 'indra/newview/llimprocessing.cpp')
-rw-r--r-- | indra/newview/llimprocessing.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/indra/newview/llimprocessing.cpp b/indra/newview/llimprocessing.cpp index 7b87b43243..6ccb9766a5 100644 --- a/indra/newview/llimprocessing.cpp +++ b/indra/newview/llimprocessing.cpp @@ -1606,15 +1606,15 @@ void LLIMProcessing::requestOfflineMessagesCoro(std::string url) bin_bucket.push_back(0); } - // Todo: once drtsim-451 releases, remove the string option
- BOOL from_group;
- if (message_data["from_group"].isInteger())
- {
- from_group = message_data["from_group"].asInteger();
- }
- else
- {
- from_group = message_data["from_group"].asString() == "Y";
+ // Todo: once drtsim-451 releases, remove the string option + BOOL from_group; + if (message_data["from_group"].isInteger()) + { + from_group = message_data["from_group"].asInteger(); + } + else + { + from_group = message_data["from_group"].asString() == "Y"; } LLIMProcessing::processNewMessage( |