From f1630780e9d81a3e7cd41d76d7a6fa7b4c125edb Mon Sep 17 00:00:00 2001 From: Friendika Date: Sun, 21 Nov 2010 15:25:10 -0800 Subject: add google buzz --- include/notifier.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'include/notifier.php') diff --git a/include/notifier.php b/include/notifier.php index 405688ab1..f22917e4f 100644 --- a/include/notifier.php +++ b/include/notifier.php @@ -257,7 +257,7 @@ $deliver_status = dfrn_deliver($owner,$contact,$atom); break; default: - if($followup) { + if($followup && $contact['notify']) { slapper($owner,$contact['notify'],$slap); } else { @@ -268,7 +268,9 @@ if(count($slaps) && $notify_hub) { logger('notifier: slapdelivery: ' . $contact['name']); foreach($slaps as $slappy) { - slapper($owner,$contact['notify'],$slappy); + if($contact['notify']) { + slapper($owner,$contact['notify'],$slappy); + } } } } @@ -289,7 +291,9 @@ foreach($url_recipients as $url) { logger('notifier: urldelivery: ' . $url); foreach($slaps as $slappy) { - slapper($owner,$url,$slappy); + if($url) { + slapper($owner,$url,$slappy); + } } } } -- cgit v1.2.3