mirror of
https://github.com/friendica/friendica
synced 2025-04-23 09:50:11 +00:00
Ensure that cached avatar fields are set
This commit is contained in:
parent
18617f6c48
commit
6ab82eaa49
2 changed files with 51 additions and 0 deletions
|
@ -36,6 +36,7 @@ use Friendica\Core\Worker;
|
|||
use Friendica\Database\DBA;
|
||||
use Friendica\DI;
|
||||
use Friendica\Model;
|
||||
use Friendica\Model\Contact as ModelContact;
|
||||
use Friendica\Module\Security\Login;
|
||||
use Friendica\Network\HTTPException\BadRequestException;
|
||||
use Friendica\Network\HTTPException\NotFoundException;
|
||||
|
@ -278,6 +279,8 @@ class Contact extends BaseModule
|
|||
if ($contact['network'] == Protocol::PHANTOM) {
|
||||
$contact = false;
|
||||
}
|
||||
|
||||
$contact = ModelContact::checkAvatarCacheArray($contact);
|
||||
}
|
||||
|
||||
if (DBA::isResult($contact)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue