]> git.mxchange.org Git - friendica-addons.git/commitdiff
reverted changes to FB connector, see comment to pull request #10 from annando
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Thu, 23 Feb 2012 06:03:32 +0000 (07:03 +0100)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Thu, 23 Feb 2012 06:03:32 +0000 (07:03 +0100)
facebook/facebook.php

index d0670156fa60fbabd37074e3d540c186b5688d32..6b6c7f8447ec8e3cfc4373b409c0629870f864ed 100755 (executable)
@@ -953,10 +953,8 @@ function fb_consume_stream($uid,$j,$wall = false) {
                        // don't store post if we don't have a contact
 
                        if(! x($datarray,'contact-id')) {
-                               // Test: Workaround for page entries
-                               $datarray['contact-id'] = $self[0]['id'];
-                               //logger('no contact: post ignored');
-                               //continue;
+                               logger('no contact: post ignored');
+                               continue;
                        }
 
                        $datarray['verb'] = ACTIVITY_POST;