Merge pull request #10344 from nupplaphil/bug/friendica-10342

Update avatar after user creation
This commit is contained in:
Tobias Diekershoff 2021-05-30 21:24:25 +02:00 committed by GitHub
commit 8bdfdc7d52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -1123,6 +1123,8 @@ class User
Photo::update(['profile' => 1], ['resource-id' => $resource_id]);
}
}
Contact::updateSelfFromUserID($uid, true);
}
Hook::callAll('register_account', $uid);