]> git.mxchange.org Git - friendica.git/blobdiff - include/notifier.php
string update
[friendica.git] / include / notifier.php
index 945ba95e7b72bc448ec82908c0f3d9a5050b33a4..2562f09eb05bb53f64187268a54d3ba1c72afe86 100644 (file)
@@ -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