From 0e4e4ef00e4f7bf77faab474da7e9d081fb661d4 Mon Sep 17 00:00:00 2001 From: rimu <3310831+rimu@users.noreply.github.com> Date: Mon, 4 Mar 2024 21:46:23 +1300 Subject: [PATCH] not all the things --- app/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models.py b/app/models.py index 79790b56..0bbdf1da 100644 --- a/app/models.py +++ b/app/models.py @@ -593,7 +593,7 @@ class User(UserMixin, db.Model): if self.is_local(): return self.user_name else: - return self.ap_id.lower() + return self.ap_id def followers_url(self): if self.ap_followers_url: @@ -680,7 +680,7 @@ class User(UserMixin, db.Model): def profile_id(self): result = self.ap_profile_id if self.ap_profile_id else f"https://{current_app.config['SERVER_NAME']}/u/{self.user_name}" - return result.lower() + return result def created_recently(self): return self.created and self.created > utcnow() - timedelta(days=7)