diff options
author | AndreyL ProductEngine <andreylproductengine@lindenlab.com> | 2015-06-08 06:51:05 +0300 |
---|---|---|
committer | AndreyL ProductEngine <andreylproductengine@lindenlab.com> | 2015-06-08 06:51:05 +0300 |
commit | a63ab891dc02550a79a4cad42e3157cf334afa0e (patch) | |
tree | 8ec42757479f996ac303634ac8e780f38e9940bd /indra/newview | |
parent | 9a13f4270b502036de01be531b17ba3a0e82e548 (diff) |
MAINT-5240 FIXED Viewer will request the full group member list for group chat in some cases - need to remove this
Diffstat (limited to 'indra/newview')
-rwxr-xr-x | indra/newview/llspeakers.cpp | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/indra/newview/llspeakers.cpp b/indra/newview/llspeakers.cpp index aac67b8774..44c980c96f 100755 --- a/indra/newview/llspeakers.cpp +++ b/indra/newview/llspeakers.cpp @@ -548,20 +548,7 @@ void LLSpeakerMgr::updateSpeakerList() // Note: The session uuid and the group uuid are actually one and the same. If that was to change, this will fail. LLGroupMgrGroupData* gdatap = LLGroupMgr::getInstance()->getGroupData(session_id); - if ((!gdatap || !gdatap->isGroupPropertiesDataComplete()) - && mGetListTime.getElapsedTimeF32() >= gSavedSettings.getF32("ChatLoadGroupTimeout")) - { - // Request group properties first. This is to avoid fetching lagre member lists here. See MAINT-5240 - LLGroupMgr::getInstance()->sendGroupPropertiesRequest(session_id); - } - else if (gdatap && gdatap->isGroupPropertiesDataComplete() - && !gdatap->isMemberDataComplete() && gdatap->mMemberCount < 5000 - && mGetListTime.getElapsedTimeF32() >= gSavedSettings.getF32("ChatLoadGroupTimeout")) - { - // Request the member list data the first time around - LLGroupMgr::getInstance()->sendCapGroupMembersRequest(session_id); - } - else if (gdatap && gdatap->isMemberDataComplete() && !gdatap->mMembers.empty()) + if (gdatap && gdatap->isMemberDataComplete() && !gdatap->mMembers.empty()) { // Add group members when we get the complete list (note: can take a while before we get that list) LLGroupMgrGroupData::member_list_t::iterator member_it = gdatap->mMembers.begin(); |