more reshare logging to see what's going on
This commit is contained in:
parent
33af8b0e20
commit
852ece39f4
|
@ -589,10 +589,13 @@ function diaspora_post($importer,$xml) {
|
||||||
|
|
||||||
function diaspora_reshare($importer,$xml) {
|
function diaspora_reshare($importer,$xml) {
|
||||||
|
|
||||||
|
logger('diaspora_reshare: init: ' . print_r($xml,true));
|
||||||
|
|
||||||
$a = get_app();
|
$a = get_app();
|
||||||
$guid = notags(unxmlify($xml->guid));
|
$guid = notags(unxmlify($xml->guid));
|
||||||
$diaspora_handle = notags(unxmlify($xml->diaspora_handle));
|
$diaspora_handle = notags(unxmlify($xml->diaspora_handle));
|
||||||
|
|
||||||
|
|
||||||
$contact = diaspora_get_contact_by_handle($importer['uid'],$diaspora_handle);
|
$contact = diaspora_get_contact_by_handle($importer['uid'],$diaspora_handle);
|
||||||
if(! $contact)
|
if(! $contact)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue