Merge branch 'ap-connect' of github.com:annando/friendica into ap-connect

This commit is contained in:
Michael 2019-05-03 05:55:19 +00:00
commit 30a6211d5c

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