mirror of
https://github.com/friendica/friendica
synced 2025-04-24 09:10:17 +00:00
Simplified proxy handling
This commit is contained in:
parent
dfc1b1e7a5
commit
e519b782fd
6 changed files with 30 additions and 196 deletions
|
@ -1012,7 +1012,7 @@ class BBCode
|
|||
if (!empty($author_contact['id'])) {
|
||||
$attributes['avatar'] = Contact::getAvatarUrlForId($author_contact['id'], ProxyUtils::SIZE_THUMB);
|
||||
} elseif ($attributes['avatar']) {
|
||||
$attributes['avatar'] = ProxyUtils::proxifyUrl($attributes['avatar'], false, ProxyUtils::SIZE_THUMB);
|
||||
$attributes['avatar'] = ProxyUtils::proxifyUrl($attributes['avatar'], ProxyUtils::SIZE_THUMB);
|
||||
}
|
||||
|
||||
$content = preg_replace(Strings::autoLinkRegEx(), '<a href="$1">$1</a>', $match[3]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue