rino: settings in admin, choose lowest common on notify

This commit is contained in:
Fabrixxm 2015-06-23 17:36:26 +02:00
commit 511c2d2c91
4 changed files with 29 additions and 14 deletions

View file

@ -1987,12 +1987,8 @@ function dfrn_deliver($owner,$contact,$atom, $dissolve = false) {
$rino = get_config('system','rino_encrypt');
if(! $rino) {
$rino = 0;
} else {
$rino = 2;
}
$rino = intval($rino);
@ -2104,6 +2100,7 @@ function dfrn_deliver($owner,$contact,$atom, $dissolve = false) {
if($page)
$postvars['page'] = $page;
if($rino>0 && $rino_remote_version>0 && (! $dissolve)) {
logger('rino version: '. $rino_remote_version);