forked from friendica/friendica-addons
bug: used uid for allow_gid instead of contact id
This commit is contained in:
parent
20ab0c68af
commit
0be5a02c9c
BIN
facebook.tgz
BIN
facebook.tgz
Binary file not shown.
|
@ -1174,7 +1174,7 @@ function fb_consume_stream($uid,$j,$wall = false) {
|
||||||
|
|
||||||
if($entry->privacy && $entry->privacy->value !== 'EVERYONE') {
|
if($entry->privacy && $entry->privacy->value !== 'EVERYONE') {
|
||||||
$datarray['private'] = 1;
|
$datarray['private'] = 1;
|
||||||
$datarray['allow_cid'] = '<' . $uid . '>';
|
$datarray['allow_cid'] = '<' . $self[0]['id'] . '>';
|
||||||
}
|
}
|
||||||
|
|
||||||
if(trim($datarray['body']) == '') {
|
if(trim($datarray['body']) == '') {
|
||||||
|
|
Loading…
Reference in a new issue