Move Notify::TYPE_INTRO

This commit is contained in:
nupplaPhil 2020-02-04 22:03:45 +01:00
parent 97b6f6b3b3
commit cfd50f9abb
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
8 changed files with 24 additions and 8 deletions

View file

@ -23,6 +23,7 @@ use Friendica\Database\DBA;
use Friendica\DI;
use Friendica\Model\Contact;
use Friendica\Model\Group;
use Friendica\Model\Notify\Type;
use Friendica\Model\Profile;
use Friendica\Model\User;
use Friendica\Module\Security\Login;
@ -552,7 +553,7 @@ function dfrn_request_content(App $a)
if (!$auto_confirm) {
notification([
'type' => NOTIFY_INTRO,
'type' => Type::INTRO,
'notify_flags' => $r[0]['notify-flags'],
'language' => $r[0]['language'],
'to_name' => $r[0]['username'],