Submission css

This commit is contained in:
cuom1999 2024-02-02 22:23:05 -06:00
parent 24a9969738
commit 2a4d4e3bc1
6 changed files with 142 additions and 140 deletions

View file

@ -10,10 +10,11 @@ from . import registry
@registry.function
def gravatar(profile, size=80, default=None, profile_image=None, email=None):
if profile_image:
return profile_image
if profile and profile.profile_image_url:
return profile.profile_image_url
if not profile.is_muted:
if profile_image:
return profile_image
if profile and profile.profile_image_url:
return profile.profile_image_url
if profile:
email = email or profile.email
if default is None: