mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-23 00:03:45 +00:00
Facebook: Deactivated the test output of messages without content.
This commit is contained in:
parent
54dd4989ce
commit
5938e5185a
1 changed files with 2 additions and 2 deletions
|
@ -1450,8 +1450,8 @@ function fb_consume_stream($uid,$j,$wall = false) {
|
||||||
// $datarray['body'] = $entry->story;
|
// $datarray['body'] = $entry->story;
|
||||||
|
|
||||||
// Adding the "story" text to see if there are useful data in it (testing)
|
// Adding the "story" text to see if there are useful data in it (testing)
|
||||||
if (($datarray['app'] != "Events") and $entry->story)
|
//if (($datarray['app'] != "Events") and $entry->story)
|
||||||
$datarray['body'] .= "\n".$entry->story;
|
// $datarray['body'] .= "\n".$entry->story;
|
||||||
|
|
||||||
if(trim($datarray['body']) == '') {
|
if(trim($datarray['body']) == '') {
|
||||||
logger('facebook: empty body '.$entry->id.' '.print_r($entry, true));
|
logger('facebook: empty body '.$entry->id.' '.print_r($entry, true));
|
||||||
|
|
Loading…
Reference in a new issue