From: Philipp Holzer Date: Mon, 21 Oct 2019 09:34:47 +0000 (+0200) Subject: wrong field X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2a41f0b104eadd0d1328b36c166459c7cfa96424;p=friendica.git wrong field --- diff --git a/mod/dfrn_notify.php b/mod/dfrn_notify.php index 46db319bc4..efe785d634 100644 --- a/mod/dfrn_notify.php +++ b/mod/dfrn_notify.php @@ -214,7 +214,7 @@ function dfrn_dispatch_public($postdata) function dfrn_dispatch_private($user, $postdata) { - $msg = Diaspora::decodeRaw($postdata, $user['privKey'] ?? ''); + $msg = Diaspora::decodeRaw($postdata, $user['prvkey'] ?? ''); if (!$msg) { System::xmlExit(4, 'Unable to parse message'); } diff --git a/src/Module/Diaspora/Receive.php b/src/Module/Diaspora/Receive.php index 521b8ea7fa..bb33a705d5 100644 --- a/src/Module/Diaspora/Receive.php +++ b/src/Module/Diaspora/Receive.php @@ -87,7 +87,7 @@ class Receive extends BaseModule $importer = User::getByGuid($guid); - $msg = self::decodePost(false, $importer['privKey'] ?? ''); + $msg = self::decodePost(false, $importer['prvkey'] ?? ''); self::$logger->info('Diaspora: Dispatching.');