diff options
author | zottel <github@zottel.net> | 2015-03-02 11:05:03 +0100 |
---|---|---|
committer | zottel <github@zottel.net> | 2015-03-02 11:05:03 +0100 |
commit | e4a2e353d8bc02f6a4e61d6cca999a098f34f593 (patch) | |
tree | 86b2b501e5bbe8074dce5b734bc8d71c18e182ef /include | |
parent | 7d0783c4dd08b63033d403d462ee2f30ef7100a6 (diff) | |
download | volse-hubzilla-e4a2e353d8bc02f6a4e61d6cca999a098f34f593.tar.gz volse-hubzilla-e4a2e353d8bc02f6a4e61d6cca999a098f34f593.tar.bz2 volse-hubzilla-e4a2e353d8bc02f6a4e61d6cca999a098f34f593.zip |
make public delivery to contacts or any connections work again
$hash wasn't defined in this case
Diffstat (limited to 'include')
-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); |