X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2FContact%2FIntroduction.php;h=7b2f7ebc507178e5325ce829163df9b4059cb626;hb=ba9f145ef78236ffbf304d07adbe2aa51f5326d4;hp=7524711371c1be85736a4c864b442a255122483d;hpb=3153e098b0e83910a550773f5661d4e8541b14b7;p=friendica.git diff --git a/src/Model/Contact/Introduction.php b/src/Model/Contact/Introduction.php index 7524711371..7b2f7ebc50 100644 --- a/src/Model/Contact/Introduction.php +++ b/src/Model/Contact/Introduction.php @@ -1,6 +1,6 @@ info('Confirming follower', ['cid' => $introduction->cid]); @@ -66,7 +68,7 @@ class Introduction } if (in_array($protocol, [Protocol::DIASPORA, Protocol::ACTIVITYPUB])) { - if ($introduction->duplex) { + if ($duplex) { $newRelation = Contact::FRIEND; } else { $newRelation = Contact::FOLLOWER;