aboutsummaryrefslogtreecommitdiffstats
path: root/include/notifier.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2011-12-06 00:16:13 -0800
committerfriendica <info@friendica.com>2011-12-06 00:16:13 -0800
commitbe8e9d36160d8a45bb11c3ab9ecdbf0c4f5cdf7d (patch)
tree9bad78a28b7c7fc77b25741018d4fda5f11eb9d3 /include/notifier.php
parent47f369e052d296f4a744c1508efc58f6168b7e8b (diff)
downloadvolse-hubzilla-be8e9d36160d8a45bb11c3ab9ecdbf0c4f5cdf7d.tar.gz
volse-hubzilla-be8e9d36160d8a45bb11c3ab9ecdbf0c4f5cdf7d.tar.bz2
volse-hubzilla-be8e9d36160d8a45bb11c3ab9ecdbf0c4f5cdf7d.zip
d* pm
Diffstat (limited to 'include/notifier.php')
-rw-r--r--include/notifier.php10
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