Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
1bb34847
Commit
1bb34847
authored
10 years ago
by
Aura Linden
Browse files
Options
Downloads
Plain Diff
Merged top of viewer-tiger into viewer-lion per Simon's request
parents
181e48c4
951c8372
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
indra/newview/llspeakers.cpp
+9
-1
9 additions, 1 deletion
indra/newview/llspeakers.cpp
with
9 additions
and
1 deletion
indra/newview/llspeakers.cpp
+
9
−
1
View file @
1bb34847
...
@@ -544,10 +544,18 @@ void LLSpeakerMgr::updateSpeakerList()
...
@@ -544,10 +544,18 @@ void LLSpeakerMgr::updateSpeakerList()
LLIMModel
::
LLIMSession
*
session
=
LLIMModel
::
getInstance
()
->
findIMSession
(
session_id
);
LLIMModel
::
LLIMSession
*
session
=
LLIMModel
::
getInstance
()
->
findIMSession
(
session_id
);
if
(
session
->
isGroupSessionType
()
&&
(
mSpeakers
.
size
()
<=
1
))
if
(
session
->
isGroupSessionType
()
&&
(
mSpeakers
.
size
()
<=
1
))
{
{
const
F32
load_group_timeout
=
gSavedSettings
.
getF32
(
"ChatLoadGroupTimeout"
);
// For groups, we need to hit the group manager.
// For groups, we need to hit the group manager.
// Note: The session uuid and the group uuid are actually one and the same. If that was to change, this will fail.
// 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
);
LLGroupMgrGroupData
*
gdatap
=
LLGroupMgr
::
getInstance
()
->
getGroupData
(
session_id
);
F32
large_group_delay
=
0.
f
;
if
(
gdatap
)
{
//This is a viewer-side bandaid for maint-4414 it does not fix the core issue.
large_group_delay
=
(
F32
)(
gdatap
->
mMemberCount
/
5000
);
}
const
F32
load_group_timeout
=
gSavedSettings
.
getF32
(
"ChatLoadGroupTimeout"
)
+
large_group_delay
;
if
(
!
gdatap
&&
(
mGetListTime
.
getElapsedTimeF32
()
>=
load_group_timeout
))
if
(
!
gdatap
&&
(
mGetListTime
.
getElapsedTimeF32
()
>=
load_group_timeout
))
{
{
// Request the data the first time around
// Request the data the first time around
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment