diff --git a/mod/dfrn_notify.php b/mod/dfrn_notify.php index 3d27593aa..46db319bc 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); + $msg = Diaspora::decodeRaw($postdata, $user['privKey'] ?? ''); if (!$msg) { System::xmlExit(4, 'Unable to parse message'); }