diff options
author | friendica <info@friendica.com> | 2014-09-19 02:22:24 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-09-19 02:22:24 -0700 |
commit | 87a6f257691e68ebf0364476493ff19c9f220297 (patch) | |
tree | 5d51410122cb37bf5e9b23012d0dcce6ef5b7e08 /mod | |
parent | 083b5da967d52780d0ff2f9e3a01484c45eed38d (diff) | |
download | volse-hubzilla-87a6f257691e68ebf0364476493ff19c9f220297.tar.gz volse-hubzilla-87a6f257691e68ebf0364476493ff19c9f220297.tar.bz2 volse-hubzilla-87a6f257691e68ebf0364476493ff19c9f220297.zip |
try to sort out walltowall translation for diaspora recipients
Diffstat (limited to 'mod')
-rw-r--r-- | mod/item.php | 4 | ||||
-rw-r--r-- | mod/receive.php | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/mod/item.php b/mod/item.php index 23d39a62c..7f25b35b8 100644 --- a/mod/item.php +++ b/mod/item.php @@ -854,7 +854,9 @@ function item_post(&$a) { if($parent) { // Store the comment signature information in case we need to relay to Diaspora //FIXME - store_diaspora_comment_sig($datarray,$channel,$parent_item, $post_id); + $ditem = $datarray; + $ditem['author'] = $observer; + store_diaspora_comment_sig($ditem,$channel,$parent_item, $post_id); } update_remote_id($channel,$post_id,$webpage,$pagetitle,$namespace,$remote_id,$mid); diff --git a/mod/receive.php b/mod/receive.php index 2a68019e0..4071b169b 100644 --- a/mod/receive.php +++ b/mod/receive.php @@ -58,7 +58,7 @@ function receive_post(&$a) { logger('mod-diaspora: decoded', LOGGER_DEBUG); - logger('mod-diaspora: decoded msg: ' . print_r($msg,true), LOGGER_DEBUG); + logger('mod-diaspora: decoded msg: ' . print_r($msg,true), LOGGER_DATA); if(! is_array($msg)) http_status_exit(500); |