From: Roland Häder Date: Wed, 25 Jan 2017 15:02:02 +0000 (+0100) Subject: Opps ... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6a171a96aa818acf38262a866b6ce2f24140ae53;p=friendica.git Opps ... Signed-off-by: Roland Häder --- diff --git a/include/dfrn.php b/include/dfrn.php index cd1fef9040..3017357516 100644 --- a/include/dfrn.php +++ b/include/dfrn.php @@ -1091,9 +1091,9 @@ class dfrn { if ($dfrn_version >= 2.1) { - if (($contact['duplex'] && strlen($contact['pubkey'])) { + if (($contact['duplex'] && strlen($contact['pubkey'])) || ($owner['page-flags'] == PAGE_COMMUNITY && strlen($contact['pubkey'])) - || ($contact['rel'] == CONTACT_IS_SHARING && strlen($contact['pubkey']))) + || ($contact['rel'] == CONTACT_IS_SHARING && strlen($contact['pubkey']))) { openssl_public_encrypt($key,$postvars['key'],$contact['pubkey']); } else {