Merge pull request #2515 from pixelfed/staging

Update AvatarController
This commit is contained in:
daniel 2020-12-17 13:15:10 -07:00 committed by GitHub
commit f524a67af7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -123,7 +123,7 @@ class AvatarController extends Controller
if( $avatar->media_path == 'public/avatars/default.png' ||
$avatar->thumb_path == 'public/avatars/default.png' ||
$avatar->media_path == 'public/avatars/default.jpg' ||
$avatar->thumb_path == 'public/avatars/default.jpg' ||
$avatar->thumb_path == 'public/avatars/default.jpg'
) {
return;