aboutsummaryrefslogtreecommitdiffstats
path: root/include/diaspora.php
diff options
context:
space:
mode:
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;