wrong field

This commit is contained in:
Philipp Holzer 2019-10-21 11:34:47 +02:00
parent cbc48a4fd4
commit 2a41f0b104
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
2 changed files with 2 additions and 2 deletions

View file

@ -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');
}

View file

@ -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.');