mirror of
https://github.com/friendica/friendica
synced 2025-04-25 10:30:12 +00:00
Some more contact paths
This commit is contained in:
parent
09aa496387
commit
98dd4e889a
3 changed files with 11 additions and 8 deletions
|
@ -51,6 +51,7 @@ use Friendica\Util\Crypto;
|
|||
use Friendica\Util\DateTimeFormat;
|
||||
use Friendica\Util\Images;
|
||||
use Friendica\Util\Network;
|
||||
use Friendica\Util\Proxy;
|
||||
use Friendica\Util\Strings;
|
||||
use Friendica\Util\XML;
|
||||
|
||||
|
@ -618,7 +619,8 @@ class DFRN
|
|||
XML::addElement($doc, $author, "dfrn:handle", $owner["addr"], $attributes);
|
||||
|
||||
$attributes = ["rel" => "photo", "type" => "image/jpeg",
|
||||
"media:width" => 300, "media:height" => 300, "href" => $owner['photo']];
|
||||
"media:width" => Proxy::PIXEL_SMALL, "media:height" => Proxy::PIXEL_SMALL,
|
||||
"href" => Contact::getAvatarUrlForId($owner['id'], Proxy::SIZE_SMALL, $owner['updated'])];
|
||||
|
||||
if (!$public || !$hide) {
|
||||
$attributes["dfrn:updated"] = $picdate;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue