forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2021-11-24 16:50:22 +02:00
parent 98182df4e2
commit a9a674ea6e
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -1,4 +1,4 @@
<script src="/assets/js/emoji_modal.js?v=78"></script> <script src="/assets/js/emoji_modal.js?v=79"></script>
<style> <style>
a.emojitab { a.emojitab {