X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fdfrn_request.php;h=bdb5a8d2fe65aea2b51d8a777aef3a8cd33231bd;hb=678715ed59d78e1f1bb9c1751ffb6fc4d3f8b529;hp=1e485e3040aea218635b09d93f8c027c014d7b72;hpb=aa0b485f3dca72c5448076e913fa54d948cd7731;p=friendica.git diff --git a/mod/dfrn_request.php b/mod/dfrn_request.php index 1e485e3040..bdb5a8d2fe 100644 --- a/mod/dfrn_request.php +++ b/mod/dfrn_request.php @@ -1,6 +1,6 @@ Type::INTRO, - 'notify_flags' => $r[0]['notify-flags'], - 'language' => $r[0]['language'], - 'to_name' => $r[0]['username'], - 'to_email' => $r[0]['email'], - 'uid' => $r[0]['uid'], - 'link' => DI::baseUrl() . '/notifications/intros', - 'source_name' => ((strlen(stripslashes($r[0]['name']))) ? stripslashes($r[0]['name']) : DI::l10n()->t('[Name Withheld]')), - 'source_link' => $r[0]['url'], - 'source_photo' => $r[0]['photo'], - 'verb' => Activity::REQ_FRIEND, - 'otype' => 'intro' + 'type' => Notification\Type::INTRO, + 'otype' => Notification\ObjectType::INTRO, + 'verb' => Activity::REQ_FRIEND, + 'uid' => $r[0]['uid'], + 'cid' => $r[0]['id'], + 'link' => DI::baseUrl() . '/notifications/intros', ]); }