]> git.mxchange.org Git - friendica-addons.git/blobdiff - diaspora/diaspora.php
Fix formatting
[friendica-addons.git] / diaspora / diaspora.php
index d2e2961dc2c7a428eed7f12c165e9640a5df2d61..6f54f4422c7319a21b0214e562115b4b5019ae47 100644 (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