From cbc48a4fd477d8d52d2e064a7223026e57f37917 Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Sun, 20 Oct 2019 13:23:13 +0200 Subject: [PATCH] Fix parameter --- mod/dfrn_notify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/dfrn_notify.php b/mod/dfrn_notify.php index 3d27593aaf..46db319bc4 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'); } -- 2.39.5