]> git.mxchange.org Git - friendica.git/blobdiff - include/notifier.php
don't allow fullscreen for youtube iframe - this makes it hard to visit the network...
[friendica.git] / include / notifier.php
index 1acb6d71f3bdac7cca5fcb937823263ad07b73eb..e92a4f6a8dbbe62f84e7064df695e44acef63c92 100644 (file)
@@ -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']);