]> git.mxchange.org Git - friendica.git/commitdiff
Sending does now work
authorMichael <heluecht@pirati.ca>
Mon, 2 Apr 2018 21:59:30 +0000 (21:59 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 2 Apr 2018 21:59:30 +0000 (21:59 +0000)
src/Protocol/DFRN.php

index 88025b88ca956be4d1247ac7c4f2b86251c230d5..1ead71ea17f913108900999982ae15f6be5e9468 100644 (file)
@@ -1393,15 +1393,13 @@ class DFRN
                // $public_batch = !$items[0]['private'];
                $public_batch = false;
 
-               $msg = DFRN::entries($items, $owner);
-
                $fcontact = Diaspora::personByHandle($contact['addr']);
                if (empty($fcontact)) {
                        logger("unable to find contact details");
                        return;
                }
 
-               $envelope = Diaspora::buildMessage($msg, $owner, $contact, $owner['uprvkey'], $fcontact['pubkey'], $public_batch);
+               $envelope = Diaspora::buildMessage($atom, $owner, $contact, $owner['uprvkey'], $fcontact['pubkey'], $public_batch);
 
                $dest_url = ($public_batch ? $fcontact["batch"] : $contact["notify"]);