master
Aevann1 2021-11-24 17:01:51 +02:00
parent 9d929a3f8e
commit f9ce82fd21
1 changed files with 1 additions and 1 deletions

View File

@ -411,7 +411,7 @@ class User(Base):
@property
@lazy
def profile_url(self):
if self.agendaposter: return f"http://{site}/assets/images/chuds/{random.randint(1, 11)}.webp?v=1"
if self.agendaposter: return f"http://{site}/assets/images/defaultpictures/agendaposter/{random.randint(1, 15)}.webp?v=1"
if self.profileurl: return self.profileurl
if "rama" in site: return f"http://{site}/assets/images/defaultpictures/{random.randint(1, 150)}.webp?v=1"
return f"http://{site}/assets/images/default-profile-pic.webp"