mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-17 04:15:15 +02:00
cleanup to ensure protocol version is passed properly. We will need it if/when any incompatible protocol changes are introduced.
This commit is contained in:
parent
3c440f70c6
commit
033935c194
6 changed files with 44 additions and 22 deletions
|
@ -109,7 +109,7 @@ function dfrn_confirm_post(&$a) {
|
|||
$params['public_key'] = bin2hex(openssl_encrypt($public_key,'AES-256-CBC',$src_aes_key));
|
||||
}
|
||||
|
||||
$params['dfrn_version'] = '2.0';
|
||||
$params['dfrn_version'] = DFRN_PROTOCOL_VERSION ;
|
||||
if($duplex == 1)
|
||||
$params['duplex'] = 1;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue