Merge pull request #8224 from nupplaphil/task/force_avatar_contact
Force avatar update for Contact Advanced page
This commit is contained in:
commit
0d268d8811
|
@ -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 New Issue
Block a user