aboutsummaryrefslogtreecommitdiffstats
path: root/include/notifier.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-11-21 15:25:10 -0800
committerFriendika <info@friendika.com>2010-11-21 15:25:10 -0800
commitf1630780e9d81a3e7cd41d76d7a6fa7b4c125edb (patch)
tree4da9b43e2280f7ffd2f9dc05225897195d8c481b /include/notifier.php
parentf7760a9f5b3dc72623281c234b3108d4442d5a78 (diff)
downloadvolse-hubzilla-f1630780e9d81a3e7cd41d76d7a6fa7b4c125edb.tar.gz
volse-hubzilla-f1630780e9d81a3e7cd41d76d7a6fa7b4c125edb.tar.bz2
volse-hubzilla-f1630780e9d81a3e7cd41d76d7a6fa7b4c125edb.zip
add google buzz
Diffstat (limited to 'include/notifier.php')
-rw-r--r--include/notifier.php10
1 files changed, 7 insertions, 3 deletions
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);
+ }
}
}
}