Fix parameter

This commit is contained in:
Philipp Holzer 2019-10-20 13:23:13 +02:00
parent 7716374593
commit cbc48a4fd4
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90

View file

@ -214,7 +214,7 @@ function dfrn_dispatch_public($postdata)
function dfrn_dispatch_private($user, $postdata)
{
$msg = Diaspora::decodeRaw($postdata, $user);
$msg = Diaspora::decodeRaw($postdata, $user['privKey'] ?? '');
if (!$msg) {
System::xmlExit(4, 'Unable to parse message');
}