summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Antipov <mantipov@productengine.com>2009-12-30 20:29:14 +0200
committerMike Antipov <mantipov@productengine.com>2009-12-30 20:29:14 +0200
commitd9a21cbff2fc842eb3959aa3ef730276c24990a7 (patch)
tree25f55647147614daf3844b2e38ff3bca3ce05428
parent90a1706870460dad89abd66762a125627df3e11c (diff)
Fixed low bug EXT-3677 (Resident doesn't appear in the nearby voice list after enabling voice)
-- fixed incorrect condition while checking if added avatar is a valid speaker (improvements for original fix - 62a452bcea55) --HG-- branch : product-engine
-rw-r--r--indra/newview/llparticipantlist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llparticipantlist.cpp b/indra/newview/llparticipantlist.cpp
index db4f9a2d95..e2da4c4475 100644
--- a/indra/newview/llparticipantlist.cpp
+++ b/indra/newview/llparticipantlist.cpp
@@ -229,7 +229,7 @@ bool LLParticipantList::onAddItemEvent(LLPointer<LLOldEvents::LLEvent> event, co
{
LLUUID uu_id = event->getValue().asUUID();
- if (mValidateSpeakerCallback && mValidateSpeakerCallback(uu_id))
+ if (mValidateSpeakerCallback && !mValidateSpeakerCallback(uu_id))
{
return true;
}