Merge pull request #10344 from nupplaphil/bug/friendica-10342
Update avatar after user creation
This commit is contained in:
commit
8bdfdc7d52
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue