]> git.mxchange.org Git - friendica.git/blobdiff - mod/dfrn_notify.php
Move L10n::getPokeVerbs() calls to DI::l10n()->getPokeVerbs() calls
[friendica.git] / mod / dfrn_notify.php
index 46db319bc4bcd19325cc5476214ec76a1c1eb4c6..8c00ace7231e67b2ba994787c8ea2f04c44ff4c6 100644 (file)
@@ -2,7 +2,7 @@
 
 /**
  * @file mod/dfrn_notify.php
- * @brief The dfrn notify endpoint
+ * The dfrn notify endpoint
  * @see PDF with dfrn specs: https://github.com/friendica/friendica/blob/master/spec/dfrn2.pdf
  */
 
@@ -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');
        }