fbpost: Sometimes comments were sent to facebook.
This commit is contained in:
parent
cef923f104
commit
75f6b10c4e
1 changed files with 4 additions and 0 deletions
|
@ -394,6 +394,10 @@ function fbpost_post_hook(&$a,&$b) {
|
|||
if($b['deleted'] || ($b['created'] !== $b['edited']))
|
||||
return;
|
||||
|
||||
// Don't transmit answers (have to be cleaned up in the following code)
|
||||
if($b['parent'] != $b['id'])
|
||||
return;
|
||||
|
||||
// if post comes from facebook don't send it back
|
||||
if($b['app'] == "Facebook")
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue