]> git.mxchange.org Git - friendica.git/commitdiff
Fix parameter
authorPhilipp Holzer <admin+github@philipp.info>
Sun, 20 Oct 2019 11:23:13 +0000 (13:23 +0200)
committerPhilipp Holzer <admin+github@philipp.info>
Sun, 20 Oct 2019 11:23:13 +0000 (13:23 +0200)
mod/dfrn_notify.php

index 3d27593aaf51a6c93f93c01aa128b32364cc6166..46db319bc4bcd19325cc5476214ec76a1c1eb4c6 100644 (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');
        }