Merge pull request #8224 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) {