mirror of
https://github.com/friendica/friendica
synced 2024-11-10 05:42:54 +00:00
Fix Introduction Diaspore sendShare()
This commit is contained in:
parent
f2547947c9
commit
da2d49ba43
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ final class Introduction extends BaseModel
|
|||
|
||||
if ($newRelation == Contact::FRIEND) {
|
||||
if ($protocol == Protocol::DIASPORA) {
|
||||
$ret = Diaspora::sendShare(Contact::getById($contact['uid']), $contact);
|
||||
$ret = Diaspora::sendShare(User::getById($contact['uid']), $contact);
|
||||
$this->logger->info('share returns', ['return' => $ret]);
|
||||
} elseif ($protocol == Protocol::ACTIVITYPUB) {
|
||||
ActivityPub\Transmitter::sendActivity('Follow', $contact['url'], $contact['uid']);
|
||||
|
|
Loading…
Reference in a new issue