X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2FContact%2FIntroduction.php;h=d78673665037ea51c9226e01f9fc2080c057b263;hb=21f172c585aff8c606774a05fde1548ddff1667d;hp=f27a4a6ba84b95d72beb573c31906a41f24933f4;hpb=d67b676ce54ad855b6734820456b6b63c2cf94e3;p=friendica.git diff --git a/src/Model/Contact/Introduction.php b/src/Model/Contact/Introduction.php index f27a4a6ba8..d786736650 100644 --- a/src/Model/Contact/Introduction.php +++ b/src/Model/Contact/Introduction.php @@ -1,6 +1,6 @@ info('Confirming follower', ['cid' => $introduction->cid]); @@ -122,7 +122,10 @@ class Introduction } if ($protocol == Protocol::ACTIVITYPUB) { - ActivityPub\Transmitter::sendContactReject($contact['url'], $contact['hub-verify'], $contact['uid']); + $owner = User::getOwnerDataById($contact['uid']); + if ($owner) { + ActivityPub\Transmitter::sendContactReject($contact['url'], $contact['hub-verify'], $owner); + } } } }