1
1
Fork 0

Don't switch Friendica contacts to AP

This commit is contained in:
Michael Vogel 2019-05-03 07:10:02 +02:00
parent 6c34196264
commit 56d2df04f0

View file

@ -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;
}