From 56d2df04f0a275016ad234e9b8dd8118593c60c9 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Fri, 3 May 2019 07:10:02 +0200 Subject: [PATCH] Don't switch Friendica contacts to AP --- src/Protocol/ActivityPub/Processor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Protocol/ActivityPub/Processor.php b/src/Protocol/ActivityPub/Processor.php index 2ebcbc0b8c..5892048701 100644 --- a/src/Protocol/ActivityPub/Processor.php +++ b/src/Protocol/ActivityPub/Processor.php @@ -653,7 +653,7 @@ class Processor private static function switchContact($cid) { $contact = DBA::selectFirst('contact', ['network'], ['id' => $cid, 'network' => Protocol::NATIVE_SUPPORT]); - if (!DBA::isResult($contact) || ($contact['network'] == Protocol::ACTIVITYPUB)) { + if (!DBA::isResult($contact) || in_array($contact['network'], [Protocol::ACTIVITYPUB, Protocol::DFRN])) { return; } -- 2.39.5