more logging diaspora pubdeliver

This commit is contained in:
Friendika 2011-08-25 20:35:55 -07:00
parent c15c53d307
commit a4739aef91

View file

@ -657,11 +657,18 @@ function notifier_run($argv, $argc){
break; break;
case NETWORK_DIASPORA : case NETWORK_DIASPORA :
require_once('include/diaspora.php'); require_once('include/diaspora.php');
if(get_config('system','dfrn_only') || (! get_config('system','diaspora_enabled')) || (! $normal_mode))
logger('notifier: diaspora pubdelivery: ' . $contact['name']);
if(get_config('system','dfrn_only') || (! get_config('system','diaspora_enabled')) || (! $normal_mode)) {
logger('notifier: diaspora pubdelivery not allowed at this time');
break; break;
}
if(! $contact['pubkey']) if(! $contact['pubkey']) {
logger('notifier: diaspora pubdelivery: no pubkey');
break; break;
}
if($target_item['verb'] === ACTIVITY_DISLIKE) { if($target_item['verb'] === ACTIVITY_DISLIKE) {
// unsupported // unsupported