diff options
author | RedMatrix <info@friendica.com> | 2015-03-02 21:43:52 +1100 |
---|---|---|
committer | RedMatrix <info@friendica.com> | 2015-03-02 21:43:52 +1100 |
commit | 5a85096d776dfe7048adf5869559a3f16709d149 (patch) | |
tree | 6a2588d271dbfee6009c8ccb201c5b6fc2ec7954 | |
parent | 5a2914880f822bf3f124f3142b3243a9f0c0f9fa (diff) | |
parent | e4a2e353d8bc02f6a4e61d6cca999a098f34f593 (diff) | |
download | volse-hubzilla-5a85096d776dfe7048adf5869559a3f16709d149.tar.gz volse-hubzilla-5a85096d776dfe7048adf5869559a3f16709d149.tar.bz2 volse-hubzilla-5a85096d776dfe7048adf5869559a3f16709d149.zip |
Merge pull request #915 from zzottel/master
make public delivery to contacts or any connections work again
-rw-r--r-- | include/zot.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/zot.php b/include/zot.php index b09f65b7b..e1c780742 100644 --- a/include/zot.php +++ b/include/zot.php @@ -1472,10 +1472,9 @@ function allowed_public_recips($msg) { 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) if($r['hash'] === $hash) return array('hash' => $hash); |