1
0
Fork 0

Force avatar update for Contact Advanced page

This commit is contained in:
nupplaPhil 2020-02-02 22:19:02 +01:00
parent b1bfafe1f5
commit 3ed3e8ff42
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90

View file

@ -68,7 +68,7 @@ class Advanced extends BaseModule
if ($photo) { if ($photo) {
DI::logger()->notice('Updating photo.', ['photo' => $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) { if ($r) {