]> git.mxchange.org Git - friendica-addons.git/commitdiff
bug: used uid for allow_gid instead of contact id
authorfriendica <info@friendica.com>
Mon, 19 Mar 2012 01:51:52 +0000 (18:51 -0700)
committerfriendica <info@friendica.com>
Mon, 19 Mar 2012 01:51:52 +0000 (18:51 -0700)
facebook.tgz
facebook/facebook.php

index d4c6ea86884431d12a5b8a8ed8b85ad58b0d8c8e..b1db063bb7aab310929d9dd330b1e94ab6537d1f 100644 (file)
Binary files a/facebook.tgz and b/facebook.tgz differ
index 4524a4865b18773b868257bcb073081347b4ec7f..9c8c8f085379b693ae00fbd2b04d7f346a57d9a2 100755 (executable)
@@ -1174,7 +1174,7 @@ function fb_consume_stream($uid,$j,$wall = false) {
 
                        if($entry->privacy && $entry->privacy->value !== 'EVERYONE') {
                                $datarray['private'] = 1;
-                               $datarray['allow_cid'] = '<' . $uid . '>';
+                               $datarray['allow_cid'] = '<' . $self[0]['id'] . '>';
                        }
 
                        if(trim($datarray['body']) == '') {