From 7d79d48f6e0f227965e5bfba94f716f06228355a Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 30 Jul 2019 13:08:14 +0000 Subject: [PATCH] Fix: The field "contact-id" now contains the correct contact id again --- src/Protocol/ActivityPub/Processor.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Protocol/ActivityPub/Processor.php b/src/Protocol/ActivityPub/Processor.php index e85caa7e4c..7639d0f2a3 100644 --- a/src/Protocol/ActivityPub/Processor.php +++ b/src/Protocol/ActivityPub/Processor.php @@ -415,9 +415,7 @@ class Processor if ($isForum) { $item['contact-id'] = Contact::getIdForURL($activity['actor'], $receiver, true); - } - - if (empty($item['contact-id'])) { + } else { $item['contact-id'] = Contact::getIdForURL($activity['author'], $receiver, true); } -- 2.39.5