X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fdfrn_notify.php;h=fcc5726548fea9ae944c204fbbd7362ff24c8034;hb=1eae40592ca67868a29acf9684f6c47c7ad10755;hp=edf419e92907a5a1430b5327f9850872af46e691;hpb=3246352ba86d3890e41a43502eb0858997752f0f;p=friendica.git diff --git a/mod/dfrn_notify.php b/mod/dfrn_notify.php index edf419e929..fcc5726548 100644 --- a/mod/dfrn_notify.php +++ b/mod/dfrn_notify.php @@ -130,12 +130,15 @@ function dfrn_notify_post(&$a) { // If we are setup as a soapbox we aren't accepting input from this person - - if($importer['page-flags'] == PAGE_SOAPBOX) - xml_status(0); + // This behaviour is deactivated since it really doesn't make sense to even disallow comments + // The check if someone is a friend or simply a follower is done in a later place so it needn't to be done here + //if($importer['page-flags'] == PAGE_SOAPBOX) + // xml_status(0); $rino = get_config('system','rino_encrypt'); $rino = intval($rino); + // use RINO1 if mcrypt isn't installed and RINO2 was selected + if ($rino==2 and !function_exists('mcrypt_create_iv')) $rino=1; logger("Local rino version: ". $rino, LOGGER_DEBUG); @@ -306,7 +309,9 @@ function dfrn_notify_content(&$a) { $rino = get_config('system','rino_encrypt'); $rino = intval($rino); - + // use RINO1 if mcrypt isn't installed and RINO2 was selected + if ($rino==2 and !function_exists('mcrypt_create_iv')) $rino=1; + logger("Local rino version: ". $rino, LOGGER_DEBUG); // if requested rino is lower than enabled local rino, lower local rino version