Force avatar update for Contact Advanced page
This commit is contained in:
parent
b1bfafe1f5
commit
3ed3e8ff42
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue