aboutsummaryrefslogtreecommitdiffstats
path: root/include/diaspora.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-08-25 21:42:46 -0700
committerfriendica <info@friendica.com>2014-08-25 21:42:46 -0700
commiteb8f194419975a6cd3debba145c8769da055b8dc (patch)
treed33ca7dea3545703f4e65902f34bea270182d37b /include/diaspora.php
parent84ff380302764703dcc0bdf9ab5d69bac549726e (diff)
downloadvolse-hubzilla-eb8f194419975a6cd3debba145c8769da055b8dc.tar.gz
volse-hubzilla-eb8f194419975a6cd3debba145c8769da055b8dc.tar.bz2
volse-hubzilla-eb8f194419975a6cd3debba145c8769da055b8dc.zip
sort out some anomalies
Diffstat (limited to 'include/diaspora.php')
-rwxr-xr-xinclude/diaspora.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/diaspora.php b/include/diaspora.php
index d93baaaa0..ebd1906f3 100755
--- a/include/diaspora.php
+++ b/include/diaspora.php
@@ -215,7 +215,7 @@ function diaspora_process_outbound($arr) {
else {
// public message
- $contact = array('hubloc_callback' => $arr['hub']['hubloc_callback']);
+ $contact = $arr['hub'];
if($target_item['verb'] === ACTIVITY_DISLIKE) {
// unsupported
@@ -2709,9 +2709,9 @@ function diaspora_transmit($owner,$contact,$slap,$public_batch,$queue_run=false)
if($public_batch)
$dest_url = $contact['hubloc_callback'] . '/public';
else
- $dest_url = $contact['hubloc_callback'] . '/users/' . $contact['guid'];
+ $dest_url = $contact['hubloc_callback'] . '/users/' . $contact['hubloc_guid'];
-
+ logger('diaspora_transmit: URL: ' . $dest_url, LOGGER_DEBUG);
if(intval(get_config('system','diaspora_test')))
return 200;