Merge pull request #8224 from nupplaphil/task/force_avatar_contact
Force avatar update for Contact Advanced page
This commit is contained in:
commit
0d268d8811
1 changed files with 1 additions and 1 deletions
|
@ -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