From 8ff6a31512d86623673d38c116d37cca566dab27 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 2 Apr 2018 21:59:30 +0000 Subject: [PATCH] Sending does now work --- src/Protocol/DFRN.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Protocol/DFRN.php b/src/Protocol/DFRN.php index 88025b88ca..1ead71ea17 100644 --- a/src/Protocol/DFRN.php +++ b/src/Protocol/DFRN.php @@ -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"]); -- 2.39.5