Fix formatting

This commit is contained in:
Hypolite Petovan 2018-01-09 22:27:40 -05:00
parent ca6e477701
commit 3e141d268e
7 changed files with 36 additions and 18 deletions

View file

@ -275,14 +275,17 @@ function diaspora_send(&$a,&$b) {
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