mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-10 10:28:50 +00:00
Updates
Updates from review changes to main friendica project
This commit is contained in:
parent
30fa9ac76c
commit
7b6bc4777c
3 changed files with 4 additions and 5 deletions
|
@ -951,7 +951,7 @@ function twitter_fix_avatar($avatar) {
|
|||
|
||||
$new_avatar = str_replace("_normal.", ".", $avatar);
|
||||
|
||||
$info = Photo::getPhotoInfo($new_avatar);
|
||||
$info = Photo::getInfoFromURL($new_avatar);
|
||||
if (!$info)
|
||||
$new_avatar = $avatar;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue