aboutsummaryrefslogtreecommitdiffstats
path: root/include/notifier.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-26 01:32:22 -0700
committerFriendika <info@friendika.com>2011-08-26 01:32:22 -0700
commit1861dc1fae549a0ee2b6287d4f7dc7f8797f5070 (patch)
tree3767bfd2137441070763e2af28fae3ca8e97196d /include/notifier.php
parenta4739aef915c0083bc2020c66fe5361018259e00 (diff)
downloadvolse-hubzilla-1861dc1fae549a0ee2b6287d4f7dc7f8797f5070.tar.gz
volse-hubzilla-1861dc1fae549a0ee2b6287d4f7dc7f8797f5070.tar.bz2
volse-hubzilla-1861dc1fae549a0ee2b6287d4f7dc7f8797f5070.zip
don't allow fullscreen for youtube iframe - this makes it hard to visit the network page when they throw an error
Diffstat (limited to 'include/notifier.php')
-rw-r--r--include/notifier.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/notifier.php b/include/notifier.php
index 1acb6d71f..e92a4f6a8 100644
--- a/include/notifier.php
+++ b/include/notifier.php
@@ -641,15 +641,19 @@ function notifier_run($argv, $argc){
/* Don't deliver to folks who have already been delivered to */
- if(in_array($rr['id'],$conversants))
+ if(in_array($rr['id'],$conversants)) {
+ logger('notifier: already delivered id=' . $rr['id']);
continue;
+ }
$n = q("SELECT * FROM `contact` WHERE `id` = %d LIMIT 1",
- intval($rr['id'])
+ intval($rr['id'])
);
if(count($n)) {
$contact = $n[0];
+ logger('pubdeliver: network: ' . $contact['network']);
+
switch($contact['network']) {
case NETWORK_DFRN :
logger('notifier: dfrnpubdelivery: ' . $contact['name']);