aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-25 20:35:55 -0700
committerFriendika <info@friendika.com>2011-08-25 20:35:55 -0700
commita4739aef915c0083bc2020c66fe5361018259e00 (patch)
tree8fe0addd67fdd59d386cb697167c35383762763d /include
parentc15c53d307f1b298e6140e33dfbd859a68d0b5f9 (diff)
downloadvolse-hubzilla-a4739aef915c0083bc2020c66fe5361018259e00.tar.gz
volse-hubzilla-a4739aef915c0083bc2020c66fe5361018259e00.tar.bz2
volse-hubzilla-a4739aef915c0083bc2020c66fe5361018259e00.zip
more logging diaspora pubdeliver
Diffstat (limited to 'include')
-rw-r--r--include/notifier.php11
1 files changed, 9 insertions, 2 deletions
diff --git a/include/notifier.php b/include/notifier.php
index 7b645844f..1acb6d71f 100644
--- a/include/notifier.php
+++ b/include/notifier.php
@@ -657,11 +657,18 @@ function notifier_run($argv, $argc){
break;
case NETWORK_DIASPORA :
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;
+ }
- if(! $contact['pubkey'])
+ if(! $contact['pubkey']) {
+ logger('notifier: diaspora pubdelivery: no pubkey');
break;
+ }
if($target_item['verb'] === ACTIVITY_DISLIKE) {
// unsupported