mirror of
https://github.com/friendica/friendica
synced 2025-04-24 04:30:11 +00:00
Some more places changed to the new contact avatar path format
This commit is contained in:
parent
4308cace68
commit
09aa496387
4 changed files with 8 additions and 11 deletions
|
@ -25,8 +25,8 @@ use Friendica\BaseModule;
|
|||
use Friendica\Core\Hook;
|
||||
use Friendica\Core\Renderer;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Database\DBA;
|
||||
use Friendica\DI;
|
||||
use Friendica\Model\Contact;
|
||||
use Friendica\Model\Photo;
|
||||
use Friendica\Model\User;
|
||||
use Friendica\Protocol\ActivityNamespace;
|
||||
|
@ -183,7 +183,7 @@ class Xrd extends BaseModule
|
|||
[
|
||||
'rel' => 'http://webfinger.net/rel/avatar',
|
||||
'type' => $avatar['type'],
|
||||
'href' => $owner['photo'],
|
||||
'href' => Contact::getAvatarUrlForUrl($owner['url'], $owner['uid']),
|
||||
],
|
||||
[
|
||||
'rel' => 'http://joindiaspora.com/seed_location',
|
||||
|
@ -239,7 +239,7 @@ class Xrd extends BaseModule
|
|||
'$hcard_url' => $baseURL . '/hcard/' . $owner['nickname'],
|
||||
'$atom' => $owner['poll'],
|
||||
'$poco_url' => $owner['poco'],
|
||||
'$photo' => $owner['photo'],
|
||||
'$photo' => Contact::getAvatarUrlForUrl($owner['url'], $owner['uid']),
|
||||
'$type' => $avatar['type'],
|
||||
'$salmon' => $baseURL . '/salmon/' . $owner['nickname'],
|
||||
'$salmen' => $baseURL . '/salmon/' . $owner['nickname'] . '/mention',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue