From: Michael Vogel Date: Fri, 3 May 2019 05:10:02 +0000 (+0200) Subject: Don't switch Friendica contacts to AP X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=56d2df04f0a275016ad234e9b8dd8118593c60c9;p=friendica.git Don't switch Friendica contacts to AP --- 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; }