diff options
Diffstat (limited to 'include/notifier.php')
-rw-r--r-- | include/notifier.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/notifier.php b/include/notifier.php index 945ba95e7..2562f09eb 100644 --- a/include/notifier.php +++ b/include/notifier.php @@ -663,7 +663,15 @@ function notifier_run($argv, $argc){ case NETWORK_DIASPORA: require_once('include/diaspora.php'); - if(get_config('system','dfrn_only') || (! get_config('system','diaspora_enabled')) || (! $normal_mode)) + if(get_config('system','dfrn_only') || (! get_config('system','diaspora_enabled'))) + break; + + if($mail) { + diaspora_send_mail($item,$owner,$contact); + break; + } + + if(! $normal_mode) break; // special handling for followup to public post |