Merge pull request #563 from zzottel/master

don't block "public" messages with authenticated scope
This commit is contained in:
RedMatrix 2014-08-16 07:07:36 +10:00
commit 73c209f325

View File

@ -1430,7 +1430,7 @@ function allowed_public_recips($msg) {
$hash = make_xchan_hash($msg['notify']['sender']['guid'],$msg['notify']['sender']['guid_sig']);
if($scope === 'public' || $scope === 'network: red')
if($scope === 'public' || $scope === 'network: red' || $scope === 'authenticated')
return $recips;
if(strpos($scope,'site:') === 0) {