From d9a21cbff2fc842eb3959aa3ef730276c24990a7 Mon Sep 17 00:00:00 2001 From: Mike Antipov Date: Wed, 30 Dec 2009 20:29:14 +0200 Subject: 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 --- indra/newview/llparticipantlist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/newview/llparticipantlist.cpp') 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 event, co { LLUUID uu_id = event->getValue().asUUID(); - if (mValidateSpeakerCallback && mValidateSpeakerCallback(uu_id)) + if (mValidateSpeakerCallback && !mValidateSpeakerCallback(uu_id)) { return true; } -- cgit v1.2.3