1
0
Fork 0
mirror of https://github.com/friendica/friendica synced 2025-01-13 02:44:42 +00:00

Merge pull request from nupplaphil/task/force_avatar_contact

Force avatar update for Contact Advanced page
This commit is contained in:
Hypolite Petovan 2020-02-02 15:33:48 -05:00 committed by GitHub
commit 0d268d8811
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -68,7 +68,7 @@ class Advanced extends BaseModule
if ($photo) {
DI::logger()->notice('Updating photo.', ['photo' => $photo]);
Model\Contact::updateAvatar($photo, local_user(), $contact['id']);
Model\Contact::updateAvatar($photo, local_user(), $contact['id'], true);
}
if ($r) {