Merge branch 'ap-connect' of github.com:annando/friendica into ap-connect
This commit is contained in:
commit
30a6211d5c
1 changed files with 1 additions and 1 deletions
|
@ -653,7 +653,7 @@ class Processor
|
||||||
private static function switchContact($cid)
|
private static function switchContact($cid)
|
||||||
{
|
{
|
||||||
$contact = DBA::selectFirst('contact', ['network'], ['id' => $cid, 'network' => Protocol::NATIVE_SUPPORT]);
|
$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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue