]> git.mxchange.org Git - friendica.git/commitdiff
wrong field
authorPhilipp Holzer <admin+github@philipp.info>
Mon, 21 Oct 2019 09:34:47 +0000 (11:34 +0200)
committerPhilipp Holzer <admin+github@philipp.info>
Mon, 21 Oct 2019 09:34:47 +0000 (11:34 +0200)
mod/dfrn_notify.php
src/Module/Diaspora/Receive.php

index 46db319bc4bcd19325cc5476214ec76a1c1eb4c6..efe785d63476dacf2f10f5485b1fd779aeb0540e 100644 (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');
        }
index 521b8ea7fa3b258e7973e44d6228117fad238e91..bb33a705d5cfa30805220936b0e819aa8efb8e6d 100644 (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.');