Update avatar after user creation

This commit is contained in:
Philipp Holzer 2021-05-30 20:36:40 +02:00
parent c22b4d5d30
commit bdc2cd000b
No known key found for this signature in database
GPG Key ID: 9A28B7D4FF5667BD
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);