summaryrefslogtreecommitdiff
path: root/indra/newview/llspeakers.cpp
diff options
context:
space:
mode:
authorIgor Borovkov <iborovkov@productengine.com>2010-01-05 15:48:53 +0200
committerIgor Borovkov <iborovkov@productengine.com>2010-01-05 15:48:53 +0200
commitd9d0a557ba42adce8d97ef618b2ba0752b3f7d48 (patch)
treeac6a55c355b788d8d89a7e3e6ec73dc2a07e1167 /indra/newview/llspeakers.cpp
parent7669c07572e78b00eb93644a13d221f0eea5f2eb (diff)
parentf24c41644fa1bd252885d9ea7c671dc3ed375b39 (diff)
merge
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llspeakers.cpp')
-rw-r--r--indra/newview/llspeakers.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llspeakers.cpp b/indra/newview/llspeakers.cpp
index 010dfd1b33..cb04dca18d 100644
--- a/indra/newview/llspeakers.cpp
+++ b/indra/newview/llspeakers.cpp
@@ -43,6 +43,7 @@
#include "llviewerobjectlist.h"
#include "llvoavatar.h"
#include "llworld.h"
+#include "llrecentpeople.h"
const F32 SPEAKER_TIMEOUT = 10.f; // seconds of not being on voice channel before removed from list of active speakers
const LLColor4 INACTIVE_COLOR(0.3f, 0.3f, 0.3f, 0.5f);
@@ -408,6 +409,8 @@ void LLSpeakerMgr::speakerChatted(const LLUUID& speaker_id)
{
speakerp->mLastSpokeTime = mSpeechTimer.getElapsedTimeF32();
speakerp->mHasSpoken = TRUE;
+
+ LLRecentPeople::instance().add(speaker_id);
}
}