From 00ac39e941768962edeca831d6913afbd263457c Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 30 Jan 2022 17:47:42 +0000 Subject: [PATCH] Birdavatar: Fix log function / Twitter: Fix avatar address --- birdavatar/birdavatar.php | 2 +- twitter/twitter.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/birdavatar/birdavatar.php b/birdavatar/birdavatar.php index 0981b35dd..b162ea8d1 100644 --- a/birdavatar/birdavatar.php +++ b/birdavatar/birdavatar.php @@ -28,7 +28,7 @@ function birdavatar_install() Hook::register('addon_settings', __FILE__, 'birdavatar_addon_settings'); Hook::register('addon_settings_post', __FILE__, 'birdavatar_addon_settings_post'); - Logger::log('registered birdavatar'); + Logger::info('registered birdavatar'); } /** diff --git a/twitter/twitter.php b/twitter/twitter.php index 33af5663f..bf82584eb 100644 --- a/twitter/twitter.php +++ b/twitter/twitter.php @@ -1273,7 +1273,7 @@ function twitter_fetchtimeline(App $a, $uid) function twitter_fix_avatar($avatar) { - $new_avatar = str_replace("_normal.", ".", $avatar); + $new_avatar = str_replace("_normal.", "_400x400.", $avatar); $info = Images::getInfoFromURLCached($new_avatar); if (!$info) {