From: Michael Date: Tue, 30 Jul 2019 13:08:14 +0000 (+0000) Subject: Fix: The field "contact-id" now contains the correct contact id again X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7d79d48f6e0f227965e5bfba94f716f06228355a;p=friendica.git Fix: The field "contact-id" now contains the correct contact id again --- 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); }