Merge pull request #915 from zzottel/master
make public delivery to contacts or any connections work again
This commit is contained in:
commit
5a85096d77
@ -1472,10 +1472,9 @@ function allowed_public_recips($msg) {
|
|||||||
return array();
|
return array();
|
||||||
}
|
}
|
||||||
|
|
||||||
if($scope === 'self') {
|
|
||||||
|
|
||||||
$hash = make_xchan_hash($msg['notify']['sender']['guid'],$msg['notify']['sender']['guid_sig']);
|
$hash = make_xchan_hash($msg['notify']['sender']['guid'],$msg['notify']['sender']['guid_sig']);
|
||||||
|
|
||||||
|
if($scope === 'self') {
|
||||||
foreach($recips as $r)
|
foreach($recips as $r)
|
||||||
if($r['hash'] === $hash)
|
if($r['hash'] === $hash)
|
||||||
return array('hash' => $hash);
|
return array('hash' => $hash);
|
||||||
|
Reference in New Issue
Block a user