diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2020-07-03 20:40:41 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2020-07-06 16:53:41 +0300 |
commit | 97a33b8322ee5c38b13424f8ae3c840f4ffec76f (patch) | |
tree | e940f2cfa0f038b8434ffdc6a7729417d6fc1b74 /indra/newview | |
parent | bbb4c6a453bb69cc3187dc092766715dd69a9052 (diff) |
SL-13540 Fix line endings
Diffstat (limited to 'indra/newview')
-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 5c9d53e0b9..79cf49ddb1 100644 --- a/indra/newview/llimprocessing.cpp +++ b/indra/newview/llimprocessing.cpp @@ -1608,15 +1608,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( |