logger('diaspora_send: invoked');
- if($b['deleted'] || $b['private'] || ($b['created'] !== $b['edited']))
+ if($b['deleted'] || $b['private'] || ($b['created'] !== $b['edited'])) {
return;
+ }
- if(! strstr($b['postopts'],'diaspora'))
+ if(! strstr($b['postopts'],'diaspora')) {
return;
+ }
- if($b['parent'] != $b['id'])
+ if($b['parent'] != $b['id']) {
return;
+ }
// Dont't post if the post doesn't belong to us.
// This is a check for forum postings