aboutsummaryrefslogtreecommitdiffstats
path: root/include/diaspora.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-09-14 22:19:19 -0700
committerfriendica <info@friendica.com>2014-09-14 22:19:19 -0700
commit0dc33900b6799681683fd02f597e95acbd58e960 (patch)
treecbbf56c19baa44e7ec06005d9a1048bfc83062da /include/diaspora.php
parentf2b0311f9d0446f4cfbf57143aa58462c7c8f39a (diff)
downloadvolse-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-xinclude/diaspora.php6
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();