]> git.mxchange.org Git - friendica.git/commitdiff
Update avatar after user creation
authorPhilipp <admin@philipp.info>
Sun, 30 May 2021 18:36:40 +0000 (20:36 +0200)
committerPhilipp <admin@philipp.info>
Sun, 30 May 2021 18:47:21 +0000 (20:47 +0200)
src/Model/User.php

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