forked from friendica/friendica-addons
Workaround for posts from pages. Not nice - but working :)
This commit is contained in:
parent
516c678827
commit
5c88bcb1b4
|
@ -952,8 +952,10 @@ function fb_consume_stream($uid,$j,$wall = false) {
|
||||||
// don't store post if we don't have a contact
|
// don't store post if we don't have a contact
|
||||||
|
|
||||||
if(! x($datarray,'contact-id')) {
|
if(! x($datarray,'contact-id')) {
|
||||||
logger('no contact: post ignored');
|
// Test: Workaround for page entries
|
||||||
continue;
|
$datarray['contact-id'] = $self[0]['id'];
|
||||||
|
//logger('no contact: post ignored');
|
||||||
|
//continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
$datarray['verb'] = ACTIVITY_POST;
|
$datarray['verb'] = ACTIVITY_POST;
|
||||||
|
|
Loading…
Reference in a new issue