Update avatar after user creation

This commit is contained in:
Philipp 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

View file

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