X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2FFContact.php;h=cf75a03dbc1df976ecc84c505d7fde2325df95ad;hb=a24febb8b656217a7cd88db205007420cb64485e;hp=2be8aa906c9e0bf02ee7ba473bc5366df3e653dc;hpb=2bfd9851d30b56821e042c6882db84ec62fd8a2a;p=friendica.git diff --git a/src/Model/FContact.php b/src/Model/FContact.php index 2be8aa906c..cf75a03dbc 100644 --- a/src/Model/FContact.php +++ b/src/Model/FContact.php @@ -1,6 +1,6 @@ Type::SUGGEST, - 'notify_flags' => $owner['notify-flags'], - 'language' => $owner['language'], - 'to_name' => $owner['name'], - 'to_email' => $owner['email'], - 'uid' => $owner['uid'], - 'item' => $suggest, - 'link' => DI::baseUrl().'/notifications/intros', - 'source_name' => $from_contact['name'], - 'source_link' => $from_contact['url'], - 'source_photo' => $from_contact['photo'], - 'verb' => Activity::REQ_FRIEND, - 'otype' => 'intro' + 'type' => Notification\Type::SUGGEST, + 'otype' => Notification\ObjectType::INTRO, + 'verb' => Activity::REQ_FRIEND, + 'uid' => $owner['uid'], + 'cid' => $from_contact['uid'], + 'item' => $suggest, + 'link' => DI::baseUrl().'/notifications/intros', ]); return true;