Permalink
Browse files

[MediaFilter] Fix blacklist being swapped with whitelist for media

R&D by Router Gray.
  • Loading branch information...
1 parent aacc250 commit a1e70145240300c6f1718d7146130f7fe7ea54cf @Lirusaito Lirusaito committed Jul 16, 2016
Showing with 2 additions and 2 deletions.
  1. +2 −2 indra/newview/llmediafilter.cpp
@@ -352,13 +352,13 @@ bool handle_media_filter_callback(const LLSD& notification, const LLSD& response
LLParcel* queue = inst.getQueuedMedia();
switch(option)
{
- case 2: // Whitelist domain
+ case 3: // Whitelist domain
inst.addToMediaList(url, LLMediaFilter::WHITELIST);
case 0: // Allow
if (inst.getCurrentParcel() == LLViewerParcelMgr::getInstance()->getAgentParcel())
LLViewerParcelMedia::play(parcel);
break;
- case 3: // Blacklist domain
+ case 2: // Blacklist domain
inst.addToMediaList(url, LLMediaFilter::BLACKLIST);
case 1: // Deny
break;

0 comments on commit a1e7014

Please sign in to comment.