aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorgit-marijus <mario@mariovavti.com>2017-05-04 09:59:35 +0200
committerGitHub <noreply@github.com>2017-05-04 09:59:35 +0200
commitbc776a9534b57231b83f4c65fefdc3637db0e024 (patch)
tree95715134462579699fe8cc13d1925ebfc0d032e2 /include
parent45c64c2d2e5f7bde8a12c0010cd87eea106a65c6 (diff)
parent1e59d9ade576acbd1768303cb9e9c994b4d50392 (diff)
downloadvolse-hubzilla-bc776a9534b57231b83f4c65fefdc3637db0e024.tar.gz
volse-hubzilla-bc776a9534b57231b83f4c65fefdc3637db0e024.tar.bz2
volse-hubzilla-bc776a9534b57231b83f4c65fefdc3637db0e024.zip
Merge pull request #750 from zotlabs/abnothere
abook_not_here flag created to indicate singleton connections which a…
Diffstat (limited to 'include')
-rw-r--r--include/connections.php1
-rw-r--r--include/zot.php4
2 files changed, 2 insertions, 3 deletions
diff --git a/include/connections.php b/include/connections.php
index a8d7d8483..8f4f84e1a 100644
--- a/include/connections.php
+++ b/include/connections.php
@@ -23,6 +23,7 @@ function abook_store_lowlevel($arr) {
'abook_unconnected' => ((array_key_exists('abook_unconnected',$arr)) ? $arr['abook_unconnected'] : 0),
'abook_self' => ((array_key_exists('abook_self',$arr)) ? $arr['abook_self'] : 0),
'abook_feed' => ((array_key_exists('abook_feed',$arr)) ? $arr['abook_feed'] : 0),
+ 'abook_not_here' => ((array_key_exists('abook_not_here',$arr)) ? $arr['abook_not_here'] : 0),
'abook_profile' => ((array_key_exists('abook_profile',$arr)) ? $arr['abook_profile'] : ''),
'abook_incl' => ((array_key_exists('abook_incl',$arr)) ? $arr['abook_incl'] : ''),
'abook_excl' => ((array_key_exists('abook_excl',$arr)) ? $arr['abook_excl'] : ''),
diff --git a/include/zot.php b/include/zot.php
index 20a25ce3b..a168dff1b 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -3226,12 +3226,10 @@ function process_channel_sync_delivery($sender, $arr, $deliveries) {
}
- $disallowed = array('abook_id','abook_account','abook_channel','abook_rating','abook_rating_text');
+ $disallowed = array('abook_id','abook_account','abook_channel','abook_rating','abook_rating_text','abook_not_here');
foreach($arr['abook'] as $abook) {
-
-
$abconfig = null;
if(array_key_exists('abconfig',$abook) && is_array($abook['abconfig']) && count($abook['abconfig']))