1
1
Fork 0

Restore the behaviour to remove the remote contact upon termination

This commit is contained in:
Michael 2018-09-05 05:02:06 +00:00
commit 9ef1d827f3
7 changed files with 25 additions and 16 deletions

View file

@ -322,8 +322,8 @@ function dfrn_notify_content(App $a) {
$encrypted_id = '';
$id_str = $my_id . '.' . mt_rand(1000,9999);
$prv_key = trim($importer['prvkey']);
$pub_key = trim($importer['pubkey']);
$prv_key = trim($importer['cprvkey']);
$pub_key = trim($importer['cpubkey']);
$dplx = intval($importer['duplex']);
if (($dplx && strlen($prv_key)) || (strlen($prv_key) && !strlen($pub_key))) {