diff options
author | friendica <info@friendica.com> | 2014-09-14 22:19:19 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-09-14 22:19:19 -0700 |
commit | 0dc33900b6799681683fd02f597e95acbd58e960 (patch) | |
tree | cbbf56c19baa44e7ec06005d9a1048bfc83062da /include/diaspora.php | |
parent | f2b0311f9d0446f4cfbf57143aa58462c7c8f39a (diff) | |
download | volse-hubzilla-0dc33900b6799681683fd02f597e95acbd58e960.tar.gz volse-hubzilla-0dc33900b6799681683fd02f597e95acbd58e960.tar.bz2 volse-hubzilla-0dc33900b6799681683fd02f597e95acbd58e960.zip |
provide a way to sync locations and get rid of bogus hublocs, now implemented
Diffstat (limited to 'include/diaspora.php')
-rwxr-xr-x | include/diaspora.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/diaspora.php b/include/diaspora.php index 33404da74..ea3c78bfe 100755 --- a/include/diaspora.php +++ b/include/diaspora.php @@ -142,6 +142,7 @@ function diaspora_process_outbound($arr) { 'cmd' => $cmd, 'expire' => $expire, 'mail' => $mail, + 'location' => $location, 'fsuggest' => $fsuggest, 'normal_mode' => $normal_mode, 'packet_type' => $packet_type, @@ -150,6 +151,10 @@ function diaspora_process_outbound($arr) { */ + if($arr['location']) + return; + + $target_item = $arr['target_item']; if($target_item && array_key_exists('item_flags',$target_item) && ($target_item['item_flags'] & ITEM_OBSCURED)) { @@ -161,6 +166,7 @@ function diaspora_process_outbound($arr) { } + if($arr['env_recips']) { $hashes = array(); |