Revert "chore: gravatar fallback"
All checks were successful
continuous-integration/drone/push Build is passing

This reverts commit d6df38cb35.
This commit is contained in:
Baoshuo Ren 2023-04-28 08:54:12 +08:00
parent 431598503f
commit 8720fb3079
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -117,7 +117,7 @@ class HTML {
return "https://q1.qlogo.cn/g?b=qq&nk={$user['qq']}&s=$s"; return "https://q1.qlogo.cn/g?b=qq&nk={$user['qq']}&s=$s";
} }
return 'https://cravatar.cn/avatar/' . md5(strtolower(trim($user['email']))) . "?d=mm&s=$size"; return 'https://cravatar.cn/avatar/' . md5(strtolower(trim($user['email']))) . "?d=404&s=$size";
} }
public static function tablist($tabs_info, $cur, $type = 'nav-tabs') { public static function tablist($tabs_info, $cur, $type = 'nav-tabs') {